Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ait-core
  4. ›
  5. CVE-2026-47731

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

June 5, 2026

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 theait-bsc process.

There are two ways for a remote attacker to trigger this:

  1. 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.
  2. 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).

References

  • github.com/NASA-AMMOS/AIT-Core/releases/tag/2.6.1
  • github.com/NASA-AMMOS/AIT-Core/releases/tag/3.1.1
  • github.com/NASA-AMMOS/AIT-Core/security/advisories/GHSA-p462-prxw-mjx4
  • github.com/advisories/GHSA-p462-prxw-mjx4
  • nvd.nist.gov/vuln/detail/CVE-2026-47731

Code Behaviors & Features

Detect and mitigate CVE-2026-47731 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.6.1, all versions starting from 3.1.0 before 3.1.1

Fixed versions

  • 2.6.1
  • 3.1.1

Solution

Upgrade to versions 2.6.1, 3.1.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/ait-core/CVE-2026-47731.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:27 +0000.