CVE-2025-8110: File overwrite in file update API in Gogs
Noroxi assessment
Priority: Now (action score 90/100)
- CISA has confirmed exploitation in the wild (Jan 12, 2026). Remediation deadline for US federal agencies: Feb 2, 2026.
- A ready-made attack module is public (Nuclei); exploiting it takes no special expertise.
- Probability of exploitation in the next 30 days: 85.2% (FIRST EPSS); higher than 99.7% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- No fixed version is recorded, but the references include a patch (commit or PR) link.
Patch today or shut off access. See the fix and affected versions sections below.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · CISA KEV · FIRST EPSS
Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.
- Published
- Dec 10, 2025
- Updated
- Oct 14, 2026
- EPSS
- 85.2% · 99th percentile
- CWE
- CWE-22
Report tools
Action score
90
Now
Patch today or shut off access.
- CVSS
- 34 / 40 · 8.7 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 26 / 30 · 85.2%
CISA SSVC decision
- Exploitation
- active
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · Wiz
- 8.7
- NVD has not scored this yet; the score shown is the CNA’s.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/AU:Y/R:U/V:C
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on Jan 12, 2026. That signals real attacks, not theory.
Remediation deadline for US federal agencies: Feb 2, 2026.
Get told when this record changes
- In CISA KEV: exploitation in the wild confirmed
- Weaponized exploit exists
- No fixed version yet
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| gogs | gogs | cpe:2.3:a:gogs:gogs |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gogs gogsup to 0.13.3 inclusive
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Wiz). Independent of NVD's CPE analysis and usually ahead of it.
Gogs Gogs
- up to and including 0.13.3affected · git
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Go | gogs.io/gogs | from 0 | — |
| Go | gogs.io/gogs | up to and including 0.13.3 | — |
Same product
gogs: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-2024OS Command Injection in gogs/gogs68This week
- CVE-2024-55947Gogs has a Path Traversal in file update API57Plan
- CVE-2024-39931Gogs through 0.13.0 allows deletion of internal files.55Plan
Published before and after this one in the same product
- ← EarlierCVE-2024-56731Jun 24, 2025 · Gogs deletion of internal files allows remote command execution39Monitor
- ← EarlierCVE-2025-47943Jun 24, 2025 · Gogs stored XSS in PDF renderer25Monitor
- Later →CVE-2025-64111Feb 6, 2026 · Gogs's update .git/config file allows remote command execution37Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
No fix version is recorded for this entry. Check the references for vendor advisories.
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Nuclei detection template ×1
- Proof-of-concept repository on GitHub ×24
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Nuclei detection template | Nuclei template CVE-2025-8110 | — |
| Proof-of-concept repository on GitHub | stars:22 | 2025-12-11 |
| Proof-of-concept repository on GitHub | stars:30 | 2025-12-13 |
| Proof-of-concept repository on GitHub | stars:0 | 2025-12-24 |
| Proof-of-concept repository on GitHub | stars:1 | 2026-02-10 |
| Proof-of-concept repository on GitHub | stars:2 | 2026-04-11 |
| Proof-of-concept repository on GitHub | stars:5 | 2026-04-11 |
| Proof-of-concept repository on GitHub | stars:4 | 2026-04-11 |
| Proof-of-concept repository on GitHub | stars:1 | 2026-04-12 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-04-13 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-04-15 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-04-30 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoCsame day
- CISA KEV+32 d
- TodayNov 9, 2026+334 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-55947352 days apartGogs has a Path Traversal in file update API57Plan
- CVE-2024-44625390 days apartGogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.40Plan
- CVE-2026-52811196 days apartGogs: UploadRepoFiles writes outside repo working tree via committed parent sym36Monitor
- CVE-2026-52797196 days apartGogs: Overwriting critical files results in a denial of service34Monitor
- CVE-2024-54148352 days apartGogs has a Path Traversal in file editing UI34Monitor
- CVE-2026-2413558 days apartGogs vulnerable to arbitrary file deletion via path traversal in wiki page update28Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
- CVE-2025-6417558 days apartGogs Vulnerable to 2FA Bypass via Recovery Code30Monitor
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:U/V:C/RE:X/U:X
nvd-secondary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);
res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);
if (!file.startsWith(ROOT + path.sep)) {
return res.sendStatus(400);
}
res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log
No changes recorded on tracked fields yet. Score, KEV, exploit maturity and fix status changes appear here.
References
Show all references (6 more)Show less
- www.openwall.com/lists/oss-security/2025/12/11/4
- www.openwall.com/lists/oss-security/2026/01/17/4
- www.openwall.com/lists/oss-security/2026/01/18/1
- www.openwall.com/lists/oss-security/2026/01/18/2
- github.com/gogs/gogs/commit/553707f3fd5f68f47f531cfcff56aa3ec294c6f6
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-8110
Vendor advisories and official records. Exploit/PoC links are deliberately left out.