{"id":"GHSA-4gcf-5m39-98mc","revision":"601dde32f3094ebb8a85f7e465bc5cf4","records":[{"revision":"601dde32f3094ebb8a85f7e465bc5cf4","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-4gcf-5m39-98mc","aliases":["CVE-2023-40034","GO-2023-2014"],"title":"Woodpecker does not validate webhook before changing any data","description":"### Impact\nAn attacker can post malformed webhook data which leads to an update of the repository data that can e.g. allow the takeover of a repository.\nThis is only critical if the CI is configured for public usage and connected to a forge witch is also in public usage.\n\n### Patches\nPlease use either next or the latest v1.0 e.g. v1.0.2\n\n### Workarounds\nSecure the CI system by making it inaccessible to untrusted entities, for example, by placing it behind a firewall.\n\n### References\nFix: https://github.com/woodpecker-ci/woodpecker/pull/2221\nBackport: https://github.com/woodpecker-ci/woodpecker/pull/2222","state":0,"publishedAt":"2023-08-16T21:02:29+00:00","modifiedAt":"2026-09-10T03:49:57.3793189+00:00","affected":[{"ecosystem":"Go","name":"github.com/woodpecker-ci/woodpecker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.0"},{"kind":"fixed","version":"1.0.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-4gcf-5m39-98mc","https://nvd.nist.gov/vuln/detail/CVE-2023-40034","https://github.com/woodpecker-ci/woodpecker/pull/2221","https://github.com/woodpecker-ci/woodpecker/pull/2222","https://github.com/woodpecker-ci/woodpecker/commit/6e4c2f84cc84661d58cf1c0e5c421a46070bb105","https://github.com/woodpecker-ci/woodpecker","https://github.com/woodpecker-ci/woodpecker/releases/tag/v1.0.2"],"sourceUrl":"https://github.com/advisories/GHSA-4gcf-5m39-98mc","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4gcf-5m39-98mc","identifiers":["GHSA-4gcf-5m39-98mc","CVE-2023-40034","GO-2023-2014"]},"retained":false,"historicalAffected":[]}],"coverage":[]}