Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
Gitea Docker images expose server files to anyone
published 21 days ago
Summary
The Org‑mode renderer in Gitea’s Docker images can read files on the host when given an INCLUDE directive, even from a public repository. This lets an unauthenticated user view configuration files such as app.ini and, if the internal token is exposed, potentially modify Git hooks to run commands as the Gitea service account. Apply the latest Gitea update or patch and restrict the markup endpoint to trusted users to prevent the file read.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.24 | docker hardened images | gitea-dev | All versions |
| Docker Hardened Images:Alpine:3.24 | docker hardened images | gitea-fips-dev | All versions |
| Docker Hardened Images:Alpine:3.24 | docker hardened images | gitea-fips | All versions |
| Docker Hardened Images:Alpine:3.24 | docker hardened images | gitea | All versions |
Original advisory text
Gitea's Org-mode markup renderer processes INCLUDE directives supplied to the repository markup endpoint without…
Gitea's Org-mode markup renderer processes INCLUDE directives supplied to the repository markup endpoint without preventing access to server-side files. An unauthenticated attacker can use a suitable public repository to read files accessible to the Gitea service account. If the disclosed files include app.ini and its INTERNAL_TOKEN, the attacker can chain the disclosure with internal logger access to modify a Git hook and execute commands as the Gitea service account.
References
- https://scout.docker.com/v/DHI-uzeb-knni-hlvh-hz2g Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-59774 Vendor Advisory
- https://security.alpinelinux.org/vuln/CVE-2026-59774 Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Timeline
Published12 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
DHI-uzeb-knni-hlvh-hz2g · OSV
Track software like this
Free during beta