---
title: "CWE-610: Externally Controlled Reference to a Resource in Another Sphere"
url: https://radicalnotion.ai/cwe/cwe-610
type: cwe
description: "The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-610: Externally Controlled Reference to a Resource in Another Sphere

- **Abstraction:** Class
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 141
- **Of those, in CISA KEV:** 1
- **New in 2026:** 19
- **CWE catalog version:** 4.21

## Description

The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity | Read Application Data, Modify Application Data | An adversary could read or modify data, depending on how the resource is intended to be used. |
| Access Control | Gain Privileges or Assume Identity | An adversary that can supply a reference to an unintended resource can potentially access a resource that they do not have privileges for, thus bypassing existing access control mechanisms. |

## Demonstrative examples

### Example 1

The following code is a Java servlet that will receive a GET request with a url parameter in the request to redirect the browser to the address specified in the url parameter. The servlet will retrieve the url parameter value from the request and send a response to redirect the browser to the url address.

Bad code:

```java
public class RedirectServlet extends HttpServlet {
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        String query = request.getQueryString();
        if (query.contains("url")) {
            String url = request.getParameter("url");
            response.sendRedirect(url);
        }
    }
}
```

Attack code:

```html
<a href="http://bank.example.com/redirect?url=http://attacker.example.net">Click here to log in</a>
```

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2022-3032 | An email client does not block loading of remote objects in a nested document. |
| CVE-2022-45918 | Chain: a learning management tool debugger uses external input to locate previous session logs (CWE-73) and does not properly validate the given path (CWE-20), allowing for filesystem path traversal using "../" sequences (CWE-24) |
| CVE-2018-1000613 | Cryptography API uses unsafe reflection when deserializing a private key |
| CVE-2020-11053 | Chain: Go-based Oauth2 reverse proxy can send the authenticated user to another site at the end of the authentication flow. A redirect URL with HTML-encoded whitespace characters can bypass the validation (CWE-1289) to redirect to a malicious site (CWE-601) |
| CVE-2022-42745 | Recruiter software allows reading arbitrary files using XXE |
| CVE-2004-2331 | Database system allows attackers to bypass sandbox restrictions by using the Reflection API. |

## Real CVEs with this weakness (sample of 12 of 141)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2022-27593 | DeadBolt Ransomware | critical | 9.3 | - | Yes | 2022-09-08 |
| CVE-2019-7290 | Shortcuts for iOS: Shortcuts - A sandboxed process may be able to circumvent sandbox restrictions | critical | 10.0 | - | No | 2019-12-18 |
| CVE-2017-16088 | Sandbox Breakout in safe-eval | critical | 10.0 | - | No | 2018-06-07 |
| CVE-2022-39206 | CI/CD Docker Escape in OneDev | critical | 9.9 | - | No | 2022-09-13 |
| CVE-2021-44041 | - | critical | 9.8 | - | No | 2021-12-14 |
| CVE-2021-43685 | - | critical | 9.8 | - | No | 2021-12-01 |
| CVE-2020-14057 | - | critical | 9.8 | - | No | 2020-07-01 |
| CVE-2024-42168 | HCL MyXalytics is affected by out-of-band resource load (HTTP) vulnerability | critical | 9.4 | - | No | 2025-01-11 |
| CVE-2024-32980 | Spin contains a potential network sandbox escape for specifically configured Spin applications | critical | 9.1 | - | No | 2024-05-08 |
| CVE-2021-41244 | Cross organization admin control in Grafana | critical | 9.1 | - | No | 2021-11-15 |
| CVE-2025-22144 | Account Takeover in NamelessMC | critical | 9.0 | - | No | 2025-01-13 |
| CVE-2021-27648 | - | critical | 9.0 | - | No | 2021-04-28 |

## Related attack patterns (CAPEC)

- [CAPEC-219](https://radicalnotion.ai/capec/capec-219): XML Routing Detour Attacks

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-664](https://radicalnotion.ai/cwe/cwe-664) | Improper Control of a Resource Through its Lifetime |
| Child | [CWE-15](https://radicalnotion.ai/cwe/cwe-15) | External Control of System or Configuration Setting |
| Child | [CWE-73](https://radicalnotion.ai/cwe/cwe-73) | External Control of File Name or Path |
| Child | [CWE-384](https://radicalnotion.ai/cwe/cwe-384) | Session Fixation |
| Child | [CWE-441](https://radicalnotion.ai/cwe/cwe-441) | Unintended Proxy or Intermediary |
| Child | [CWE-470](https://radicalnotion.ai/cwe/cwe-470) | Use of Externally-Controlled Input to Select Classes or Code |
| Child | [CWE-601](https://radicalnotion.ai/cwe/cwe-601) | URL Redirection to Untrusted Site |
| Child | [CWE-611](https://radicalnotion.ai/cwe/cwe-611) | Improper Restriction of XML External Entity Reference |
| Child | [CWE-918](https://radicalnotion.ai/cwe/cwe-918) | Server-Side Request Forgery |
| Child | [CWE-1021](https://radicalnotion.ai/cwe/cwe-1021) | Improper Restriction of Rendered UI Layers or Frames |
| Peer | [CWE-386](https://radicalnotion.ai/cwe/cwe-386) | Symbolic Name not Mapping to Correct Object |

## Frequently asked questions

### What is CWE-610?

The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.

### What CVEs are caused by CWE-610?

141 recorded CVEs are attributed to CWE-610, including CVE-2022-27593, CVE-2019-7290 and CVE-2017-16088. 1 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

### What are the consequences of CWE-610?

Exploiting CWE-610 can lead to: Read Application Data, Modify Application Data, Gain Privileges or Assume Identity.

### Is CWE-610 actively exploited?

Yes. 1 CWE-610 vulnerability is in CISA's KEV catalog of actively exploited flaws, out of 141 recorded CVEs.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/610.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-610). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
