Skip to content
Emerging threatsCritical

CVE-2022-2024Gogs OS Command Injection

Gogs OS Command Injection vulnerability

Published Feb 25, 2023 · Updated Oct 28, 2026 · Also known as GHSA-pfvh-p8qp-9ww9, GO-2023-1596

Key Facts

Patch immediately
  • CVE-2022-2024 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Gogs, gogs.io/gogs, gogs/gogs.
  • It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 98% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Gogs 0.12.11, gogs.io/gogs 0.12.11, gogs/gogs 0.12.11.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

98%

Higher than 99.9% of all scored CVEs

Exploit maturity

None known

ATLAS score

40/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

OS Command Injection in GitHub repository gogs/gogs prior to 0.12.11.

Affected Products

11 affected entries in total
ProductAffected versionsFixed in
GogsGogsSee advisory0.12.11
gogs.io/gogsgoSee advisory0.12.11
gogs/gogs>= unspecified0.12.11

Patched Releases

Gogs

0.12.11

gogs.io/gogs

0.12.11

gogs/gogs

0.12.11

Timeline

  1. Publicly disclosed

    Feb 25, 2023

  2. Last updated

    Oct 28, 2026

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

4 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-2024 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.