/

CVE-2026-92153

Severity:

HIGH RISK

(7.1)

Path Traversal (CWE-22) in F´ FileUplink Handler

CVE-2026-92153

Deferred

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22, CWE-73

Impact:

Unauthorized File Creation or Overwrite

Severity:

HIGH RISK

(7.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

F´ versions before 4.3.0 allow Svc::FileUplink to use packet-controlled destination paths without canonicalization or confinement to an upload directory. A peer able to send file-uplink packets may create or overwrite files at attacker-selected writable locations, potentially affecting system integrity and availability.

F´ versions before 4.3.0 allow Svc::FileUplink to use packet-controlled destination paths without canonicalization or confinement to an upload directory. A peer able to send file-uplink packets may create or overwrite files at attacker-selected writable locations, potentially affecting system integrity and availability.

Affected context

The issue occurs in deployments using F´ Svc::FileUplink to process

Fw::FilePacket::StartPacket messages. Risk is present when a peer can send

file-uplink packets and the receiving process has write access beyond an

intended upload directory. Absolute paths, traversal sequences, or other

attacker-selected writable destinations may be accepted without adequate

canonicalization and confinement.

The issue occurs in deployments using F´ Svc::FileUplink to process

Fw::FilePacket::StartPacket messages. Risk is present when a peer can send

file-uplink packets and the receiving process has write access beyond an

intended upload directory. Absolute paths, traversal sequences, or other

attacker-selected writable destinations may be accepted without adequate

canonicalization and confinement.

Exploit preconditions

  • Attack surface: F´ file-uplink packet handling
  • Required access: Ability to send or cause processing of file-uplink packets
  • Trigger point: Handling of a StartPacket containing a destination path
  • Required runtime condition: The FileUplink process must have write access

to the selected filesystem location

  • Why exploitation is possible: The destination path is taken from packet

data and opened for writing without reliable canonicalization or directory

confinement

  • Attack surface: F´ file-uplink packet handling
  • Required access: Ability to send or cause processing of file-uplink packets
  • Trigger point: Handling of a StartPacket containing a destination path
  • Required runtime condition: The FileUplink process must have write access

to the selected filesystem location

  • Why exploitation is possible: The destination path is taken from packet

data and opened for writing without reliable canonicalization or directory

confinement

Why this happens

The underlying bug is an improper limitation of a pathname to a restricted

directory, mapping primarily to CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'). FileUplink trusts a

packet-controlled destination path and opens it before establishing that the

resolved path remains within an approved upload location. This permits absolute,

traversing, or otherwise attacker-selected paths to influence filesystem writes.

The underlying bug is an improper limitation of a pathname to a restricted

directory, mapping primarily to CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'). FileUplink trusts a

packet-controlled destination path and opens it before establishing that the

resolved path remains within an approved upload location. This permits absolute,

traversing, or otherwise attacker-selected paths to influence filesystem writes.

Potential impact

  • An attacker may create files in writable filesystem locations
  • Existing writable files may be overwritten or corrupted
  • Application or mission data integrity could be affected
  • Configuration or operational files may be disrupted if writable
  • Service availability could be reduced through destructive or oversized writes
  • An attacker may create files in writable filesystem locations
  • Existing writable files may be overwritten or corrupted
  • Application or mission data integrity could be affected
  • Configuration or operational files may be disrupted if writable
  • Service availability could be reduced through destructive or oversized writes

General mitigation guidance

Mitigation generally focuses on removing trust from packet-controlled paths

and enforcing a narrow filesystem boundary.

Common defensive patterns include:

  • Resolving submitted paths against a fixed upload directory and rejecting

results that escape that directory

  • Rejecting absolute paths, traversal components, ambiguous separators, and

links that bypass confinement

  • Generating server-side filenames rather than accepting arbitrary destination

names

  • Using allowlisted file destinations and safe file-creation semantics
  • Running the FileUplink process with only the minimum required filesystem

permissions

  • Applying read-only or isolated filesystem layouts where practical
  • Treating uploaded content and metadata as untrusted until validation is

complete

Mitigation generally focuses on removing trust from packet-controlled paths

and enforcing a narrow filesystem boundary.

Common defensive patterns include:

  • Resolving submitted paths against a fixed upload directory and rejecting

results that escape that directory

  • Rejecting absolute paths, traversal components, ambiguous separators, and

links that bypass confinement

  • Generating server-side filenames rather than accepting arbitrary destination

names

  • Using allowlisted file destinations and safe file-creation semantics
  • Running the FileUplink process with only the minimum required filesystem

permissions

  • Applying read-only or isolated filesystem layouts where practical
  • Treating uploaded content and metadata as untrusted until validation is

complete

How teams detect issues like this

Detection can combine static analysis, review, testing, and runtime controls:

  • Search for packet, request, or message fields passed directly to filesystem

open, create, rename, or overwrite operations

  • Flag path concatenation that lacks canonicalization and containment checks
  • Review handling of absolute paths, .. segments, symbolic links, and platform

specific path forms

  • Add tests confirming that resolved paths cannot escape the designated upload

directory

  • Enforce policies requiring allowlisted directories and least-privilege service

accounts

  • Monitor file creation and modification outside expected upload locations

Automated security analysis and code-review tools may help identify these patterns

during development.

Detection can combine static analysis, review, testing, and runtime controls:

  • Search for packet, request, or message fields passed directly to filesystem

open, create, rename, or overwrite operations

  • Flag path concatenation that lacks canonicalization and containment checks
  • Review handling of absolute paths, .. segments, symbolic links, and platform

specific path forms

  • Add tests confirming that resolved paths cannot escape the designated upload

directory

  • Enforce policies requiring allowlisted directories and least-privilege service

accounts

  • Monitor file creation and modification outside expected upload locations

Automated security analysis and code-review tools may help identify these patterns

during development.

Sources

SourceLink
github.comgithub.com/nasa/fprime/commit/4c8b9c0b8692b0d47cbd5f2ccec61c74aa02b893
github.comgithub.com/nasa/fprime/pull/5320
github.comgithub.com/nasa/fprime/releases/tag/v4.3.0
github.comgithub.com/nasa/fprime/security/advisories/GHSA-5rfj-hw2g-vwmv

Frequently asked

questions

It can be exploitable over a network or other peer interface when an attacker

can send file-uplink packets to a reachable F´ component. The practical scope

depends on communication authentication, authorization, and network isolation.

The attacker needs the ability to submit or cause processing of

Fw::FilePacket::StartPacket messages. The impact also depends on the

filesystem locations writable by the FileUplink process.

Treat destination paths as untrusted, use server-controlled filenames or a

fixed upload directory, and verify canonical containment before opening files.

Combine path validation and allowlisting with least-privilege filesystem

permissions, link and traversal defenses, negative-path testing, and monitoring

for unexpected writes.

It can be exploitable over a network or other peer interface when an attacker

can send file-uplink packets to a reachable F´ component. The practical scope

depends on communication authentication, authorization, and network isolation.

The attacker needs the ability to submit or cause processing of

Fw::FilePacket::StartPacket messages. The impact also depends on the

filesystem locations writable by the FileUplink process.

Treat destination paths as untrusted, use server-controlled filenames or a

fixed upload directory, and verify canonical containment before opening files.

Combine path validation and allowlisting with least-privilege filesystem

permissions, link and traversal defenses, negative-path testing, and monitoring

for unexpected writes.

Find out what's already
exploitable in your codebase.