/

CVE-2026-67970

Severity:

HIGH RISK

(7.5)

Path Traversal (CWE-284) in NASA cFS DS_SetDestPathCmd()

CVE-2026-67970

Received

Vulnerability type

Category:

Path Traversal

CWE:

CWE-284

Impact:

Unauthorized access to sensitive files or components

Severity:

HIGH RISK

(7.5)

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

An access-control weakness in the DS_SetDestPathCmd() component of NASA cFS may allow path traversal when destination paths are processed without sufficient restriction. An attacker who can reach the command interface and influence the destination path could access sensitive files or components outside the intended location.

Affected context

The issue occurs in NASA cFS v7.0.1 deployments that use the DS_SetDestPathCmd() component to configure destination paths. Risk depends on whether an attacker can invoke the relevant command or influence its path input, and whether the runtime account has access beyond the intended destination directory.

Exploit preconditions

  • Attack surface: The DS command interface or another mechanism that reaches DS_SetDestPathCmd()
  • Required access: Ability to submit or influence destination-path commands, subject to deployment authentication and authorization
  • Trigger point: Processing or use of a destination path containing traversal elements
  • Why exploitation is possible: Path handling and access-control boundaries may permit resolution outside the intended directory or component scope

Why this happens

The underlying bug is an insufficient separation between user-controlled path values and authorized filesystem locations. When path components are accepted without canonicalization, containment checks, or command-level authorization, traversal sequences may bypass intended directory boundaries. This behavior is associated with CWE-284, Improper Access Control, and is closely related to path traversal weaknesses.

Potential impact

  • An attacker may access sensitive files or components
  • Operational configuration or mission-related data could be exposed
  • Unauthorized reads or writes may affect system integrity where permissions allow
  • The affected service could be used to reach additional resources available to its runtime account

General mitigation guidance

Mitigation generally focuses on enforcing destination boundaries independently of user-provided path values.

Common defensive patterns include:

  • Resolving and canonicalizing paths before authorization decisions
  • Allowing only predefined directories or opaque destination identifiers
  • Rejecting traversal elements, absolute paths, and unexpected path formats
  • Applying authorization checks to the resolved target rather than the raw input
  • Running the component with the minimum filesystem privileges required
  • Restricting command access through authenticated, authorized interfaces

How teams detect issues like this

Detection approaches may include:

  • Static analysis for path concatenation using command or external input
  • Code review checks for missing canonicalization and containment validation
  • Tests covering traversal sequences, absolute paths, symbolic links, and encoding variants
  • Runtime monitoring for access outside approved destination directories
  • Policy enforcement that limits command sources and filesystem permissions

Automated security review tools can help identify suspicious path handling patterns, but findings should be validated against the deployment's access model.

Sources

SourceLink
github.comgithub.com/nasa/cFS/issues/1072

Frequently asked

questions

Exploitability depends on how the cFS command interface is exposed. It may be reachable remotely when an attacker can access an authorized command path or compromise a system that can submit commands.

The attacker generally needs the ability to invoke or influence DS_SetDestPathCmd(). The practical scope depends on command authentication, authorization, network exposure, and runtime permissions.

Resolve paths and verify that the final target remains within an explicitly permitted directory, preferably using allowlisted destination identifiers instead of arbitrary path strings.

Combine strict command authorization, canonical path validation, filesystem least privilege, boundary-focused tests, and monitoring for access outside approved locations.

Find out what's already
exploitable in your codebase.