# CVE-2023-40034: GO-2023-2014 - Woodpecker does not validate webhook before changing any data in github.com/woodpecker-ci/woodpecker

Source: https://junglewise.ai/threats/cve-2023-40034-woodpecker-does-not-validate-webhook-before-changing-any-data  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-21  
License: CC BY 4.0 with a link back

CVE-2023-40034 · Severity: low · CVSS 3.1 · Published 2024-08-21

Woodpecker does not validate webhook before changing any data in github.com/woodpecker-ci/woodpecker

Technologies: [github.com/woodpecker-ci/woodpecker (Go)](https://junglewise.ai/threats/technologies/github-com-woodpecker-ci-woodpecker). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2023-40034 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-40034 being exploited in the wild.

**How severe is CVE-2023-40034?** Low severity, with a CVSS score of 3.1, published 21 August 2024.

**Which products and versions are affected?** github.com/woodpecker-ci/woodpecker (Go) SEMVER:introduced=1.0.0,fixed=1.0.2.

**Is there a fix for CVE-2023-40034?** Yes. github.com/woodpecker-ci/woodpecker (Go): upgrade to 1.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-40034?** Check whether you run github.com/woodpecker-ci/woodpecker (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/woodpecker-ci/woodpecker (Go): upgrade to 1.0.2 or later

  ```sh
  go get github.com/woodpecker-ci/woodpecker@v1.0.2
  ```


## Affected products

- github.com/woodpecker-ci/woodpecker (Go) SEMVER:introduced=1.0.0,fixed=1.0.2

## Identifiers

- CVE-2023-40034
- GHSA-4gcf-5m39-98mc
- GO-2023-2014

## Related threats

- [Woodpecker CI privilege escalation in Kubernetes backend](https://junglewise.ai/threats/cve-2026-61549-woodpecker-ci-privilege-escalation-in-kubernetes-backend)
- [GO-2022-0440 - Woodpecker allows cross-site scripting (XSS) via build logs in github.com/woodpecker-ci/woodpecker](https://junglewise.ai/threats/cve-2022-29947-woodpecker-allows-cross-site-scripting-xss-via-build-logs)
