PoC Monitor
← All CVEs
CVE-2026-123638published 15 Nov 2026 21:14 UTCData: JSON · API

Gitea

Gitea protected file pattern bypass with quoted file names

The "Protected file patterns" setting of a branch protection rule was checked against file names as git prints them, and git quotes names that contain a double quote, a backslash or a control character. Such names never matched a pattern, so a user with write access could add or change files under a protected pattern by direct push or through a pull request merge, and could move a protected file out of the pattern's reach by renaming it. Where the patterns protect workflow files, this allowed adding a workflow that then ran on the repository's runners. Changed files are now listed unquoted, and a rename reports both the old and the new path.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.3high · scored by CISA ADP · CWE-693
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Gitea Gitea
  • < 28.4.0

Fixed in 28.4.0

Mitigation

Upgrade Gitea to 28.4.0 or later.

References

1 more

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published15 Nov 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.