CVE-2026-58369: NULL Pointer Dereference in woodpecker-ci woodpecker
Woodpecker before 3.15.0 registers the /api/orgs/lookup/*org_full_name endpoint without authentication middleware, and the LookupOrg handler unconditionally dereferences the session user (user.ForgeID, via ForgeFromUser) when selecting the forge to query. For an unauthenticated request session.User returns nil, so any unauthenticated HTTP request triggers a NULL pointer dereference in the handler. The panic is recovered by gin recovery middleware and the server continues serving (returning HTTP 500), but each request writes a multi-line panic stack trace to the error log. A low-bandwidth unauthenticated attacker can repeatedly probe the endpoint to flood the logs (about 37 lines per request), inflating disk usage and downstream log-ingestion cost and burying legitimate log events.
AI Analysis
Technical Summary
In woodpecker versions prior to 3.15.0, the /api/orgs/lookup/*org_full_name endpoint is registered without authentication middleware. The LookupOrg handler unconditionally dereferences the session user object, which is nil for unauthenticated requests, causing a NULL pointer dereference. Although the gin recovery middleware prevents server crashes by recovering from the panic and returning HTTP 500 errors, each such request generates a multi-line panic stack trace in the error logs. An unauthenticated attacker can exploit this to repeatedly trigger the panic, flooding logs and inflating disk usage and log ingestion costs.
Potential Impact
The vulnerability does not allow data disclosure, integrity compromise, or direct service disruption beyond returning HTTP 500 errors. However, it enables an unauthenticated attacker to cause a denial of service in the form of log flooding, which can increase disk usage and obscure legitimate log entries, potentially hindering incident response and monitoring.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider implementing network-level controls to restrict access to the vulnerable endpoint or deploying web application firewall rules to detect and block repeated unauthenticated requests to /api/orgs/lookup/*org_full_name. Monitor logs for unusual volumes of panic stack traces and investigate accordingly.
CVE-2026-58369: NULL Pointer Dereference in woodpecker-ci woodpecker
Description
Woodpecker before 3.15.0 registers the /api/orgs/lookup/*org_full_name endpoint without authentication middleware, and the LookupOrg handler unconditionally dereferences the session user (user.ForgeID, via ForgeFromUser) when selecting the forge to query. For an unauthenticated request session.User returns nil, so any unauthenticated HTTP request triggers a NULL pointer dereference in the handler. The panic is recovered by gin recovery middleware and the server continues serving (returning HTTP 500), but each request writes a multi-line panic stack trace to the error log. A low-bandwidth unauthenticated attacker can repeatedly probe the endpoint to flood the logs (about 37 lines per request), inflating disk usage and downstream log-ingestion cost and burying legitimate log events.
CVSS v3.1
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In woodpecker versions prior to 3.15.0, the /api/orgs/lookup/*org_full_name endpoint is registered without authentication middleware. The LookupOrg handler unconditionally dereferences the session user object, which is nil for unauthenticated requests, causing a NULL pointer dereference. Although the gin recovery middleware prevents server crashes by recovering from the panic and returning HTTP 500 errors, each such request generates a multi-line panic stack trace in the error logs. An unauthenticated attacker can exploit this to repeatedly trigger the panic, flooding logs and inflating disk usage and log ingestion costs.
Potential Impact
The vulnerability does not allow data disclosure, integrity compromise, or direct service disruption beyond returning HTTP 500 errors. However, it enables an unauthenticated attacker to cause a denial of service in the form of log flooding, which can increase disk usage and obscure legitimate log entries, potentially hindering incident response and monitoring.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider implementing network-level controls to restrict access to the vulnerable endpoint or deploying web application firewall rules to detect and block repeated unauthenticated requests to /api/orgs/lookup/*org_full_name. Monitor logs for unusual volumes of panic stack traces and investigate accordingly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-30T12:13:02.506Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a43f43127e9c79719185f97
Added to database: 06/30/2026, 16:52:01 UTC
Last enriched: 07/15/2026, 09:59:43 UTC
Last updated: 08/14/2026, 00:41:13 UTC
Views: 76
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.