CVE-2026-58369 Null dereference in woodpecker

Medium 6.9 Published Updated

Unauthenticated attackers can trigger a null pointer dereference in Woodpecker CI, causing log flooding and potential disk exhaustion.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-58369?

CVE-2026-58369 is a medium-severity vulnerability in woodpecker-ci woodpecker, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2026-58369?

How do I fix CVE-2026-58369?

No fix has been published for CVE-2026-58369 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-58369 being exploited?

There is no known exploitation of CVE-2026-58369 in the wild and no public exploit code.

Sources

Also known as GHSA-xq6m-xxrf-h53q.

Is CVE-2026-58369 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free