# GHSA-9h6h-9g78-86f7: Yapscan's report receiver server vulnerable to path traversal and log injection

- Severity: High 7.5 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-12-29T01:50:20.000Z
- Modified: 2026-03-03T04:52:56.938Z
- Also known as: GO-2022-1204
- Weaknesses: CWE-22, CWE-73, CWE-117

## Description

### Impact

If you make use of the **report receiver server** (experimental), a client may be able to forge requests such that arbitrary files on the host can be overwritten (subject to permissions of the yapscan server), leading to loss of data. This is particularly problematic if you do not authenticate clients and/or run the server with elevated permissions.

### Patches

Vulnerable versions:

- v0.18.0
- v0.19.0 (unreleased)

This problem is patched in version v0.19.1

### Workarounds

Update to the newer version is highly encouraged!

Measures to reduce the risk of this include authenticating clients (see `--client-ca` flag) and containerization of the yapscan server.

### References

The tracking issue is #35. There you can find the commits, fixing the issue.

(As written by GitHub Advisory Database.)

## Affected

- github.com/fkie-cad/yapscan (Go): from 0.18.0 before 0.19.1

## References

- <https://github.com/fkie-cad/yapscan/security/advisories/GHSA-9h6h-9g78-86f7> (advisory, web)
- <https://github.com/fkie-cad/yapscan/issues/35> (report, web)
- <https://github.com/fkie-cad/yapscan/commit/a75a20b50be673b96b1d42187b97f8cfe60728df> (fix, web)
- <https://github.com/fkie-cad/yapscan/commit/fef9a33ceb66f6b929839f7eaf393b629681bc5d> (fix, web)
- <https://github.com/fkie-cad/yapscan> (package)
- <https://github.com/fkie-cad/yapscan/releases/tag/v0.19.1> (web)

## Sources

- GitHub Advisory Database: [GHSA-9h6h-9g78-86f7](https://github.com/advisories/GHSA-9h6h-9g78-86f7), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-1204](https://pkg.go.dev/vuln/GO-2022-1204), CC-BY-4.0, modified 2026-03-03

---

Page: https://cve.day/GHSA-9h6h-9g78-86f7 · Whole record: https://cve.day/GHSA-9h6h-9g78-86f7.json · Rebuilt by cve.day 2026-11-25T22:56:23.423Z
