/

CVE-2026-66890

Severity:

CRITICAL RISK

(9.6)

Hard-Coded Credentials (CWE-798) in Affected FTP Services

CVE-2026-66890

Awaiting Analysis

Vulnerability type

Category:

Hard-Coded Credentials

CWE:

CWE-798

Impact:

Unauthorized privileged file access

Severity:

CRITICAL RISK

(9.6)

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

A critical vulnerability in affected products uses hard-coded credentials that may be accepted by FTP-accessible services. An attacker who can reach the relevant FTP interface could use those credentials to access files with root privileges, depending on deployment and network controls.

Affected context

The vulnerability occurs in products that embed reusable credentials in software, configuration, or service components and expose an FTP service that accepts them. Risk increases when FTP is reachable by untrusted or insufficiently restricted networks and when the associated account has root-level file permissions.

Exploit preconditions

  • Attack surface: An FTP service or related file-transfer interface exposed over a reachable network
  • Required access: Network connectivity to the service; prior authentication may not be required if the embedded credentials are sufficient
  • Trigger point: Authentication against the affected FTP service using hard-coded credentials
  • Why exploitation is possible: Credentials embedded in the product may be discoverable, reusable, or shared across deployments, while the authenticated account can access files with root privileges

Why this happens

The underlying issue is the inclusion of fixed authentication secrets in product code, images, configuration, or service logic. Hard-coded credentials are difficult to rotate and may be identical across installations, allowing anyone who obtains or infers them to authenticate wherever they remain valid. This maps to CWE-798: Use of Hard-coded Credentials, because the software relies on credentials that are embedded rather than provisioned securely at deployment time.

Potential impact

  • An attacker could access, download, modify, or delete protected files
  • An attacker may obtain root-level control over file operations exposed through FTP
  • Sensitive configuration, credentials, or application data could be disclosed
  • Attackers could alter files to enable persistence, service disruption, or further compromise
  • Compromised systems could be used for lateral movement within reachable networks

General mitigation guidance

Mitigation generally focuses on removing embedded secrets and reducing the privileges and exposure of file-transfer services.

Common defensive patterns include:

  • Replacing hard-coded credentials with securely provisioned, unique, and rotatable secrets
  • Requiring per-deployment or per-device credentials rather than shared defaults
  • Disabling FTP when file transfer is not required, or using a secure alternative with encrypted transport and strong authentication
  • Restricting service reachability through network segmentation, firewalls, and allowlists
  • Running file-transfer services with dedicated least-privilege accounts instead of root-level permissions
  • Rotating any credentials that may have been exposed and preventing secrets from appearing in source code, images, or logs

How teams detect issues like this

Organizations can identify this vulnerability through:

  • Static analysis searches for passwords, keys, tokens, and authentication constants embedded in source code or binaries
  • Secret-scanning rules applied to repositories, build artifacts, firmware, and container images
  • Code review checks for default credentials, shared service accounts, and privileged FTP configuration
  • Runtime inventory and network scans to identify reachable FTP services and accounts with excessive permissions
  • Policy enforcement requiring external secret provisioning, credential rotation, and least-privilege service identities
  • Authentication-log monitoring for unexpected use of shared or embedded accounts

Sources

SourceLink
digital-watchdog.comdigital-watchdog.com/downloads/
github.comgithub.com/cisagov/CSAF/blob/develop/csaf_files/OT/white/2026/icsa-26-258-01.json
cisa.govcisa.gov/news-events/ics-advisories/icsa-26-258-01

Frequently asked

questions

It may be remotely exploitable when the affected FTP service is reachable by an attacker and the embedded credentials remain valid. Network isolation or access controls can limit the reachable scope.

The key prerequisite is network access to the relevant FTP interface. The attacker may not need an existing account if the hard-coded credentials provide authentication.

Remove embedded credentials, provision unique secrets securely for each deployment, rotate potentially exposed credentials, and avoid granting root-level permissions to file-transfer services.

Use secret-management systems, automated secret scanning, secure-by-default service configurations, least-privilege identities, and policy checks that block hard-coded authentication material from release artifacts.

Find out what's already
exploitable in your codebase.