# CVE-2022-46959: Path Traversal in github.com/go-sonic/sonic

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/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): 0.81%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-23T00:00:00.000Z
- Modified: 2026-06-17T05:12:44.110Z
- Also known as: GHSA-2x48-p6cq-5xcw, GO-2023-1509
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

An issue in the component /admin/backups/work-dir of Sonic v1.0.4 allows attackers to execute a directory traversal.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/go-sonic/sonic (Go): before 1.0.5
- sonic_project sonic: 1.0.4

## Every score

- CISA-ADP: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/go-sonic/sonic/issues/56> (exploit, issue-tracking, patch, report, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-46959> (advisory)
- <https://github.com/go-sonic/sonic/pull/61/commits/3b00266a13fa69284f4b3f4b37d29be8f8e02f31> (fix, web)
- <https://github.com/go-sonic/sonic> (package)
- <https://github.com/go-sonic/sonic/releases/tag/v1.0.5> (web)
- <https://github.com/advisories/GHSA-2x48-p6cq-5xcw> (advisory)

## Sources

- CVE List: [CVE-2022-46959](https://www.cve.org/CVERecord?id=CVE-2022-46959), CVE Terms of Use, modified 2025-04-03
- GitHub Advisory Database: [GHSA-2x48-p6cq-5xcw](https://github.com/advisories/GHSA-2x48-p6cq-5xcw), CC-BY-4.0, modified 2024-08-20
- Go Vulnerability Database: [GO-2023-1509](https://pkg.go.dev/vuln/GO-2023-1509), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-46959](https://nvd.nist.gov/vuln/detail/CVE-2022-46959), Public domain, modified 2026-06-17

---

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