Skip to content
Vulnerability Intelligence

CVE-2022-2024

CriticalPublic exploit

Gogs OS Command Injection vulnerability

Published Feb 28, 2023 · Updated Aug 12, 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. Public exploit code is available.
  • 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.

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

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2022-2024 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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 28, 2023

  2. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

References

4 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-2024 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo