CVE-2018-18925

CRITICALNVD 9.89.8
EchelonGraph scoreHIGH confidence

Score elevated to 9.8 because EPSS predicts 94% probability of exploitation within the next 30 days (top 0.2% of all CVEs). NVD baseline CVSS 9.8 retained for reference. Confidence: see factors.

Triggered by: EPSS exploit prediction ≥85%
Sources: epss, ghsa, nvd
Elevated
9.8
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 32%CVSS: 9.8Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.

CVSS v3
9.8
EG Score
9.8(high)
EPSS
98.1%
KEV
Not listed

Published

November 4, 2018

Last Modified

November 21, 2024

Advisory Details (1)

Auto-updated May 28, 2026
No patch confirmed yet.
generic

Remote command execution · Issue #5469 · gogs/gogs · GitHub

https://github.com/gogs/gogs/issues/5469

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 5× in last 7d / 36× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-12 05:43 UTCEPSS rescore
  2. 2026-07-11 08:24 UTCEPSS rescore
  3. 2026-07-09 19:06 UTCEPSS rescore
  4. 2026-07-08 15:11 UTCEPSS rescore
  5. 2026-07-06 02:20 UTCEPSS rescore
  6. 2026-07-04 06:28 UTCEPSS rescore
  7. 2026-07-04 06:28 UTCEPSS rescore
  8. 2026-07-03 22:26 UTCOSV refresh
  9. 2026-07-02 16:54 UTCEPSS rescore
  10. 2026-07-01 15:03 UTCEPSS rescore
  11. 2026-07-01 15:03 UTCEPSS rescore
  12. 2026-06-30 23:20 UTCEPSS rescore
  13. 2026-06-30 23:19 UTCEPSS rescore
  14. 2026-06-28 04:53 UTCEPSS rescore
  15. 2026-06-28 04:53 UTCEPSS rescore
  16. 2026-06-27 03:06 UTCEPSS rescore
  17. 2026-06-27 03:06 UTCEPSS rescore
  18. 2026-06-25 13:47 UTCEPSS rescore
  19. 2026-06-25 13:47 UTCEPSS rescore
  20. 2026-06-24 14:02 UTCEPSS rescore
  21. 2026-06-24 14:02 UTCEPSS rescore
  22. 2026-06-23 21:30 UTCEPSS rescore
  23. 2026-06-23 21:30 UTCEPSS rescore
  24. 2026-06-23 21:30 UTCEPSS rescore
  25. 2026-06-21 01:57 UTCEPSS rescore
Show 26 more
  1. 2026-06-21 01:57 UTCEPSS rescore
  2. 2026-06-18 17:50 UTCEPSS rescore
  3. 2026-06-18 17:50 UTCEPSS rescore
  4. 2026-06-17 17:50 UTCEPSS rescore
  5. 2026-06-17 17:50 UTCEPSS rescore
  6. 2026-06-16 17:50 UTCEPSS rescore
  7. 2026-06-16 17:50 UTCEPSS rescore
  8. 2026-06-15 17:45 UTCEPSS rescore
  9. 2026-06-15 10:43 UTCOSV refresh
  10. 2026-06-14 23:15 UTCEPSS rescore
  11. 2026-06-14 23:14 UTCEPSS rescore
  12. 2026-06-10 13:19 UTCEPSS rescore
  13. 2026-06-06 13:45 UTCEPSS rescore
  14. 2026-06-06 13:45 UTCEPSS rescore
  15. 2026-06-05 22:45 UTCEPSS rescore
  16. 2026-06-05 22:45 UTCEPSS rescore
  17. 2026-06-02 20:11 UTCEPSS rescore
  18. 2026-06-02 20:11 UTCEPSS rescore
  19. 2026-06-01 13:50 UTCEPSS rescore
  20. 2026-06-01 13:50 UTCEPSS rescore
  21. 2026-05-29 13:41 UTCEPSS rescore
  22. 2026-05-28 01:26 UTCEG score recompute
  23. 2026-05-28 01:26 UTCGHSA enrichment
  24. 2026-05-26 13:42 UTCEPSS rescore
  25. 2026-05-26 13:42 UTCEPSS rescore
  26. 2026-05-26 05:16 UTCOSV refresh

Publicly available exploits

(2 references)

Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • GitHub PoCj4k0m/CVE-2018-18925
    First seen Sep 12, 2021

    Exploitation of CVE-2018-18925 a Remote Code Execution against the Git self hosted tool: Gogs.

    Open source ↗
  • Nucleihttp/cves/2018/CVE-2018-18925.yaml
    First seen Jan 1, 2018

    Gogs (Go Git Service) 0.11.66 - Remote Code Execution

    Open source ↗

Frequently asked(5)

What is CVE-2018-18925?
CVE-2018-18925 is a critical vulnerability published on November 4, 2018. Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.
When was CVE-2018-18925 disclosed?
CVE-2018-18925 was first published in the National Vulnerability Database on November 4, 2018, with the most recent update on November 21, 2024. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2018-18925 actively exploited?
CVE-2018-18925 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 98.1% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2018-18925?
CVE-2018-18925 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2018-18925?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2018-18925, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2018-18925

Explore →

Is Your Infrastructure Affected by CVE-2018-18925?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.