CVE-2022-27593 is an externally controlled reference vulnerability in QNAP Photo Station. CISA added it to the Known Exploited Vulnerabilities catalogue on 8 September 2022, which means attackers have used it in real attacks. Certain QNAP NAS running Photo Station with internet exposure contain an externally controlled reference to a resource vulnerability which can allow an attacker to modify system files.
What an externally controlled reference vulnerability means
An externally controlled reference vulnerability exists when an application accepts a reference to a file, object, or resource that the attacker can influence, then uses that reference without adequate validation. In a product like QNAP Photo Station, that can turn a simple request parameter into an unintended path to system files or other sensitive resources.
The danger is not just that the attacker can “pick a file.” It is that the application is trusting user-supplied input to decide what internal resource to touch. In internet-exposed NAS services, that trust boundary is especially weak because the service is already reachable from outside the perimeter.
Why this matters in exposed NAS applications
Photo Station is a file and media service, so an externally controlled reference can affect core storage paths, metadata handling, and file operations. When an attacker can steer a server-side reference, the result may range from unauthorized file access to modification of system files, which can undermine integrity and persistence on the NAS.
For this class of issue, exposure is a major part of the risk. CISA listing the CVE in the Known Exploited Vulnerabilities catalogue means the issue is not theoretical, and readers should treat internet-facing QNAP services as potential exposure points until inventory and remediation are confirmed through the vendor advisory and the NIST National Vulnerability Database.
How organisations assess exposure and limit blast radius
The first question is whether any QNAP NAS in the environment runs Photo Station and is reachable in a way that an external user can influence the application. Asset inventory, internet exposure review, and configuration review matter more than assumptions about “internal” storage appliances, because many NAS devices are reachable through forwarding rules, VPNs, remote admin paths, or exposed web services.
For vulnerability tracking and record verification, the CVE Program is the authoritative source for the identifier, while operational prioritisation should use the vendor’s guidance and exploitation status. Where remediation is delayed, organisations should reduce exposure by restricting network reachability, disabling the affected service if it is not required, and tightening administrative access to the appliance.
Remediation, detection, and compromise review
Remediation should follow the vendor’s published fix path for the exact QNAP model and Photo Station version, rather than relying on generic patch advice. If patching cannot happen immediately, compensating controls should focus on reducing internet exposure and monitoring for unusual file changes, configuration drift, or unexpected service behaviour.
Detection should not stop at the vulnerable endpoint itself. Review logs, admin activity, and file integrity indicators for evidence that an attacker used the flaw before remediation. The Vulnerability Management Guide is useful for prioritising KEV-listed issues, validating remediation, and confirming that exposure has actually been removed rather than merely documented.
If exploitation is suspected, treat the appliance as potentially altered, not just outdated. Reconcile changed files, review privileged credentials tied to the NAS, and assess whether any adjacent accounts, tokens, or shares were touched during the intrusion window.
Risk and Threat Considerations
This vulnerability is dangerous because externally controlled references can turn a normal application request into a server-side file operation on a trusted appliance. On an internet-exposed NAS, that creates a direct path to integrity compromise, persistence, and possible tampering with system files.
Failure mechanism: The application accepts attacker-influenced resource references and resolves them on the server without sufficient boundary checks, allowing the request to reach files or objects the attacker should not control.
Impact: An attacker may modify system files, alter the appliance’s behaviour, or gain a foothold that survives ordinary user-level cleanup.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-53 Rev 5, CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | SI-10 — Information Input Validation | Externally controlled references fail when input is not validated before server-side use. |
| CM-6 — Configuration Settings | Internet exposure and service configuration materially change exploitability of the NAS service. | |
| Recommendation — Validate and constrain all user-controlled resource references before the server resolves them. Harden service exposure and disable unneeded Photo Station paths or interfaces. | ||
| CIS Controls v8 | CIS-12 — Network Infrastructure Management | Reducing external reachability is central to limiting exposure for an internet-facing NAS service. |
| Recommendation — Restrict external access paths to the NAS and remove unnecessary inbound exposure. | ||
| NIST CSF 2.0 | PR.DS-01 — Data-at-rest is protected | System file tampering on a NAS directly threatens stored data integrity and protection. |
| Recommendation — Protect stored NAS content and verify integrity after exploitation is suspected. | ||
Related resources from NHI Mgmt Group
- What happens when an AI model sends user data through a sanctioned or externally controlled entity?
- How should security teams verify whether externally exposed firewalls are affected by CVE-2024-3400?
- How should security teams prioritize patching OpenSSL 3.0.0 to 3.0.6 after CVE-2022-3602 and CVE-2022-3786 disclosure?
- What are the signs that CVE-2022-26923 exploitation is underway in Active Directory?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 17, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org