# CVE-2026-47731: NASA AMMOS Instrument Toolkit: Path traversal resulting in arbitrary file append (can be triggered over the network by unauthenticated attacker)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.86% (percentile 56, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** GHSA-p462-prxw-mjx4, PYSEC-2026-265
- **Published:** 2026-06-05T18:11:27.000Z
- **Modified:** 2026-10-24T19:10:00.127Z

## Who should check

- Projects that depend on PyPI package ait-core (\>= 3.1.0, \< 3.1.1)
- Anyone running NASA-AMMOS AIT-Core \< 2.6.1; = 3.1.0

## Description

The AMMOS Instrument Toolkit (Formerly the Bespoke Links to Instruments for Surface and Space (BLISS)) is a Python-based software suite developed to handle Ground Data System (GDS), Electronic Ground Support Equipment (EGSE), commanding, telemetry uplink/downlink, and sequencing for instrument and CubeSat Missions. In versions prior to 2.6.1 and in version 3.1.0, the Binary Stream Capture (BSC) component exposes an unauthenticated HTTP API for dynamically creating packet capture "handlers." Because the code blindly trusts path‑related form fields, a remote client can bypass the configured log root and direct BSC to log to arbitrary filesystem paths (path traversal / directory escape), and append attacker‑controlled data to those files, using the privileges of the\`ait-bsc\` process. There are two ways for a remote attacker to trigger this. First, if the attacker has access to the network where \`ait-bsc\` is deployed (a reason for that could be that the ports are publicly accessible), the payloads can be directly sent to the server to trigger the arbitrary file append. This type of attack is demonstrated in \`python\_poc.py\`. Second, even if the attacker does not have direct access to the network because the software is running in a local network, it is possible to exploit this if a bad actor in that network opens an attacker-controlled website (which might be a website created by an attacker, or a third-party website compromised by the attacker). The browser javascript can automatically send the requests necessary to exploit this into the local network. This is even possible if the server is only accessible on \`localhost\`. This type of attack is demonstrated by \`attacker\_tcp.py\` and \`test1.html\` (first launch the attacker TCP server, then start a webserver to host \`test1.html\`, for example using \`python3 -m http.server 7000\`, and open \`test1.html\`).This issue affects BSC (Binary Stream Capture) and usage of the ait-bsc server. This impacts AIT-Core versions before 3.1.1, from 2.x before 2.6.1. Users are recommended to upgrade to version 3.1.1 or 2.6.1.

## Affected and fixed versions

- PyPI `ait-core`: affected \>= 3.1.0, \< 3.1.1; fixed 3.1.1, 2.6.1 (osv)
- NASA-AMMOS AIT-Core: \< 2.6.1; = 3.1.0 (cvelist)

## Mitigation

- Upgrade ait-core to one of 3.1.1, 2.6.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-47731. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-47731.md
Affected: ait-core >= 3.1.0, < 3.1.1
Fixed in: 3.1.1, 2.6.1

Steps:
1. Search this machine and project for ait-core (PyPI), NASA-AMMOS AIT-Core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-47731 being exploited?

There is no confirmed exploitation: CVE-2026-47731 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.86% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-47731?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-47731?

ait-core \>= 3.1.0, \< 3.1.1.

### Is there a fix for CVE-2026-47731?

Yes. Fixed in 3.1.1, 2.6.1. Upgrade ait-core to one of 3.1.1, 2.6.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-47731?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/NASA-AMMOS/AIT-Core/security/advisories/GHSA-p462-prxw-mjx4>
- vendor: <https://github.com/advisories/GHSA-p462-prxw-mjx4>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-47731>
- other: <https://github.com/NASA-AMMOS/AIT-Core/releases/tag/2.6.1>
- other: <https://github.com/NASA-AMMOS/AIT-Core/releases/tag/3.1.1>
- other: <https://github.com/NASA-AMMOS/AIT-Core>
- other: <https://pypi.org/project/ait-core>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-47731>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-p462-prxw-mjx4> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-265> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-47731> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-47731>
