CVE-2026-123642
Last modified
CVE-2026-123642 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. The AGit flow (pushing to `refs/for/...`) did not check the pusher's access to pull requests again when it created the pull request. A user or deploy key with read access to the code only, or with write access to the wiki over SSH, could open pull requests in a repository where they have no access to pull requests. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
The AGit flow (pushing to `refs/for/...`) did not check the pusher's access to pull requests again when it created the pull request. A user or deploy key with read access to the code only, or with write access to the wiki over SSH, could open pull requests in a repository where they have no access to pull requests. Creating a pull request through AGit now requires read access to the pull requests of the repository and is refused for wiki pushes.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | >= 1.16.0, < 28.4.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-123642?
How severe is CVE-2026-123642?
How do I fix CVE-2026-123642?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-123624ChatWiki before 2.10.0 contains an insecure direct object re…5.4
- CVE-2026-123628IBM webMethods Integration Server 10.15 and 11.1 could allow…7.5
- CVE-2026-12363The LoRaWAN Fragmented Data Block Transport service (subsys/…4.2
- CVE-2026-123635Missing Release of Resource after Effective Lifetime vulnera…6.3
- CVE-2026-123638The "Protected file patterns" setting of a branch protection…8.3
- CVE-2026-12364The user-space system-call verifier z_vrfy_z_log_msg_static_…8.4
- CVE-2026-12365A use-after-free exists in the Zephyr second-generation work…5.8
- CVE-2026-123653A security vulnerability has been detected in esengine DeepS…6.3
- CVE-2026-123655A flaw was found in Moodle. Insufficient access control chec…7.5
- CVE-2026-123656The ProfilePress WordPress plugin before 4.17.6 does not co…5.3
- CVE-2026-123657The ProfilePress WordPress plugin before 4.17.6 does not re…5.3
- CVE-2026-123659The ProfilePress WordPress plugin before 4.17.6 does not res…5.3
Are you affected by CVE-2026-123642?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
