CVE-2026-125423

A repository created with auto-init accepted pushes before its initialization had finished, and the initial commit was built in a checkout of whatever the repository already contained. A user who is allowed to create repositories could push a crafted tree during that window so that writing the README followed a symbolic link and overwrote a server-side git hook, which runs commands as the Gitea system user. The initial commit is now built in a freshly initialized directory, and a new repository only becomes ready, and accepts pushes, once its initialization is complete.
Configurations

No configuration.

History

16 Nov 2026, 23:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8

15 Nov 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-15 21:16

Updated : 2026-11-16 23:17


NVD link : CVE-2026-125423

Mitre link : CVE-2026-125423

CVE.ORG link : CVE-2026-125423


JSON object : View

Products Affected

No product.

CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')

CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')