Vulnerability 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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/woodpecker-ci/woodpecker/commit/1fbacac3a43b75b6e5a0a40a4f720
- https://github.com/woodpecker-ci/woodpecker/pull/6652
- https://github.com/woodpecker-ci/woodpecker/releases/tag/v3.15.0
- https://www.vulncheck.com/advisories/woodpecker-unauthenticated-null-pointer-der
FAQ
What is CVE-2026-58369?
CVE-2026-58369 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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...
How severe is CVE-2026-58369?
CVE-2026-58369 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-58369?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.