CVE Catalog

CVE-2026-58369

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.36%

28th percentile — higher than 28% of all known CVEs

Summary

Woodpecker before version 3.15.0 exposes the /api/orgs/lookup/*org_full_name endpoint without authentication middleware, and the handler triggers a NULL pointer dereference for unauthenticated requests. Each request causes a panic that is recovered by gin middleware but writes a multi-line stack trace to the error log.

Risk Assessment

An unauthenticated attacker can repeatedly probe this endpoint to flood logs (about 37 lines per request), causing excessive disk usage, increased log ingestion costs, and obscuring legitimate security events.

Recommendation

Upgrade Woodpecker to version 3.15.0 or later immediately. If upgrade is not possible, temporarily block access to the /api/orgs/lookup/*org_full_name endpoint for unauthenticated users at the firewall or reverse proxy level.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS