Advisory record · GHSA-67mx-jc2f-jgjm

OS Command Injection in file editor in Gogs in gogs.io/gogs

CVSS 10.0 CriticalCriticalEPSS 0.042 · 91st percentile

Critical, because:

  • CVSS score 10.0: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 21 Aug 2024, 15:11 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
gogs.io/gogsGo<0.12.90.12.9
Identifiers
GHSA-67mx-jc2f-jgjm · CVE-2022-1986 · GO-2022-0556
Weakness (CWE)
CWE-78
Published
21 Aug 2024
Updated
3 Mar 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The Go module gogs.io/gogs versions before 0.12.9 are affected by an OS command injection flaw in the file editor. The source gives few details beyond this, so it does not say what access an attacker needs or exactly what they can do. Upgrade to gogs.io/gogs version 0.12.9 or later.

Written 10 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
10.0 Critical 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CNA (@huntrdev)
  • CISA KEV Not listed.
  • EPSS 0.042, the 91st percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 21 Aug 2024. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.