File Station 5: Improper Neutralization of Directives in Statically Saved Code
CVE-2025-57707 is a high-severity improper neutralization of directives in statically saved code vulnerability in File Station 5 from QNAP, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists version 5.5.6.5166 as the first without the flaw, so updating File Station 5 to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.73% chance of exploitation within 30 days, higher than 55% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update File Station 5 to 5.5.6.5166 or a later version.
- Update File Station to 5.5.6.5190 or a later version.
- Read the advisory on qnap.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| QNAP | File Station 5 | 5.5.x up to, but not including, 5.5.6.5166 | 5.5.6.5166 |
| QNAP | File Station | 5.5.6.4691 up to, but not including, 5.5.6.5190 | 5.5.6.5190 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 4.0 | 1.1 | Low | CNA (qnapsecurity.com.tw) |
| CVSS 3.1 | 8.8 | High | NVD |
Official description
An improper neutralization of directives in statically saved code ('Static Code Injection') vulnerability has been reported to affect File Station 5. If a remote attacker gains a user account, they can then exploit the vulnerability to access restricted data / files. We have already fixed the vulnerability in the following version: File Station 5 5.5.6.5166 and later
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Neutralization of Directives in Statically Saved Code
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before inserting the input into an executable resource, such as a library, configuration file, or template.
How developers prevent this class of flaw
- Perform proper output validation and escaping to neutralize all code syntax from data written to code files.
More Improper Neutralization of Directives in Statically Saved Code vulnerabilities (CWE-96)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Other vulnerabilities in File Station 5
- 9.1 Critical severity
- 9.1 Critical severity
- 8.1 High severity
- 8.1 High severity
- 7.5 High severity
Recent Improper Neutralization of Directives in Statically Saved Code vulnerabilities
- 7.2 High severity
- 9.4 Critical severity
- 7.5 High severity
- 7.5 High severity
- 9.8 Critical severity
- 8.6 High severity
Spotted an error? Tell us.