# CVE-2022-25856: Directory Traversal

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.94%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-06-17T01:03:47.000Z
- Modified: 2026-07-08T06:50:01.357Z
- Also known as: GHSA-qpgx-64h2-gc3c, GO-2022-0492, SNYK-GOLANG-GITHUBCOMARGOPROJARGOEVENTSSENSORSARTIFACTS-2864522
- Weaknesses: CWE-22, CWE-59
- Assigned by: snyk

## Description

The package github.com/argoproj/argo-events/sensors/artifacts before 1.7.1 are vulnerable to Directory Traversal in the (g *GitArtifactReader).Read() API in git.go. This could allow arbitrary file reads if the GitArtifactReader is provided a pathname containing a symbolic link or an implicit directory name such as ...

(As written by CVE List.)

## Affected

- github.com/argoproj/argo-events/sensors/artifacts: from unspecified before 1.7.1
- github.com/argoproj/argo-events (Go): before 1.7.1
- argo_events_project argo_events: before 1.7.1

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMARGOPROJARGOEVENTSSENSORSARTIFACTS-2864522> (exploit, patch, third-party-advisory, web)
- <https://github.com/argoproj/argo-events/issues/1947> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/argoproj/argo-events/commit/d0f66dbce78bc31923ca057b20fc722aa24ca961> (patch, third-party-advisory, web)
- <https://github.com/argoproj/argo-events/security/advisories/GHSA-qpgx-64h2-gc3c> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25856> (advisory)
- <https://github.com/argoproj/argo-events/pull/1965> (fix, web)
- <https://github.com/argoproj/argo-events> (package)
- <https://pkg.go.dev/vuln/GO-2022-0492> (web)

## Sources

- CVE List: [CVE-2022-25856](https://www.cve.org/CVERecord?id=CVE-2022-25856), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-qpgx-64h2-gc3c](https://github.com/advisories/GHSA-qpgx-64h2-gc3c), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2022-0492](https://pkg.go.dev/vuln/GO-2022-0492), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2022-25856](https://nvd.nist.gov/vuln/detail/CVE-2022-25856), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25856 · Whole record: https://cve.day/CVE-2022-25856.json · Rebuilt by cve.day 2026-11-25T22:58:12.449Z
