Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
Gitea Docker images allow remote code execution
published 9 days ago
Summary
The Gitea Docker images use a library called Seroval that can turn data into JavaScript values. In versions before 1.5.3, a specially crafted JSON payload can trick Seroval into running unexpected code on the server, which could let an attacker take control. Upgrade the affected images to version 1.5.3 or later to stop this behavior.
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
Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. Prior to…
Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.5.3, seroval.fromJSON() allows attacker-controlled JSON Promise control nodes to operate on values from the general deserialization reference table without verifying genuine internal Promise resolver records, causing deserialization side effects with plugins enabled and potentially unintended server-side invocation or remote code execution when downstream frameworks register callable wrappers. This issue is fixed in version 1.5.3.
References
- https://scout.docker.com/v/DHI-pkuz-a4y3-ezk7-qpan Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-59940 Vendor Advisory
- https://github.com/advisories/GHSA-mv8w-475r-vwqw Vendor Advisory
- https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-mv8w-475r-vwqw 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-pkuz-a4y3-ezk7-qpan · OSV
Track software like this
Free during beta