Missing Authorization Affecting gogs.io/gogs/internal/osutil package, versions <0.13.4-rc.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GOGSIOGOGSINTERNALOSUTIL-15248365
  • published8 Feb 2026
  • disclosed6 Feb 2026
  • creditodgrso

Introduced: 6 Feb 2026

CVE-2026-23632  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade gogs.io/gogs/internal/osutil to version 0.13.4-rc.1 or higher.

Overview

Affected versions of this package are vulnerable to Missing Authorization in the PutContents() function accessible via the /repos/:owner/:repo/contents/* endpoint. A user with read permissions can modify repository contents via git push.

References

CVSS Base Scores

version 4.0
version 3.1