/

CVE-2026-109961

Severity:

HIGH RISK

(8.5)

Newline Injection (CWE-74) in Froxlor Ftps API Endpoint

CVE-2026-109961

Deferred

Vulnerability type

Category:

Newline Injection

CWE:

CWE-74

Impact:

Local Privilege Escalation

Severity:

HIGH RISK

(8.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

Froxlor contains a newline injection vulnerability in the additional_members parameter of the Ftps.add API. An authenticated customer may inject forged group entries that are later written by a privileged cron job, potentially enabling local privilege escalation.

Affected context

The issue may affect Froxlor installations where:

  • Authenticated customers can submit values through the Ftps.add API
  • The additional_members parameter is accepted without strict validation
  • The REBUILD_NSSUSERS cron process consumes the resulting data
  • The cron process writes to a root-owned NSS group database

Risk depends on the deployment's customer permissions, filesystem controls, and group-management configuration.

Exploit preconditions

  • Attack surface: Authenticated Froxlor API access
  • Required access: A customer account permitted to invoke the affected Ftps.add operation
  • Trigger point: Processing of the additional_members value by the NSS user/group rebuild workflow
  • Why exploitation is possible: Newline characters are accepted as data and later interpreted as record separators when written to a privileged group database

Why this happens

The underlying bug is improper neutralization of control characters in a value that is later serialized into a line-oriented system database. The application accepts newline characters in additional_members without enforcing an appropriate field format, allowing attacker-controlled input to create additional records when consumed by REBUILD_NSSUSERS.

This behavior maps to CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component, because input that is valid at the API boundary is unsafe in the downstream NSS group-file format.

Potential impact

  • An attacker could create unauthorized group entries
  • Local privilege escalation may occur if forged groups grant access to privileged resources
  • System account and group-management integrity could be compromised
  • The affected host may be used as a foothold for further local compromise
  • Security monitoring and authorization decisions could be bypassed or altered

General mitigation guidance

Mitigation generally focuses on validating structured membership data before it reaches system-facing files.

Common defensive patterns include:

  • Allowing only the documented character set and member format for group names
  • Rejecting control characters, including newline and carriage-return characters
  • Treating each member as a structured value rather than concatenated text
  • Encoding or safely serializing data according to the target file format
  • Applying validation both at the API boundary and immediately before privileged file generation
  • Running rebuild processes with the minimum filesystem and operating-system privileges required
  • Protecting generated NSS files with restrictive ownership, permissions, and monitoring

How teams detect issues like this

Detection approaches may include:

  • Static analysis rules for unvalidated user input written to line-oriented system files
  • Code review checks for string concatenation involving newline-sensitive formats
  • Tests that submit control characters and verify rejection or safe encoding
  • Monitoring for unexpected modifications to /var/lib/extrausers/group
  • Auditing API activity and cron-generated changes to NSS account databases
  • Policy enforcement requiring allowlists and canonical serializers for privileged configuration files

Automated application-security and code-review tools may help identify tainted data flows from API parameters into privileged file-generation routines.

Sources

SourceLink
github.comgithub.com/froxlor/froxlor/security/advisories/GHSA-v44g-c58r-37w2
vulncheck.comvulncheck.com/advisories/froxlor-0.10.0-before-2.3.14-newline-injection-via-ftps-add-additional-members

Frequently asked

questions

It may be exploitable through the Froxlor API by an authenticated customer, but the resulting privilege escalation occurs on the affected host.

An attacker generally needs a customer account with permission to invoke the affected Ftps.add functionality. Anonymous access is not required for the described attack path.

Reject control characters and enforce a strict allowlist for group-member values before they are stored or passed to privileged file-generation processes.

Use structured serialization, validate data at every trust boundary, test control-character handling, and limit the privileges of processes that generate operating-system account or group files.

Find out what's already
exploitable in your codebase.