CVE-2024-4981
Pagure: _update_file_in_git() follows symbolic links in temporary clones
A vulnerability was discovered in Pagure server. If a malicious user were to submit a git repository with symbolic links, the server could unintentionally show incorporate and make visible content from outside the git repo.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
7.6
Pagure: _update_file_in_git() follows symbolic links in temporary clones
A vulnerability was discovered in Pagure server. If a malicious user were to submit a git repository with symbolic links, the server could unintentionally show incorporate and make visible content from outside the git repo.
- Record
CVE-2024-4981- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L - Weakness
- CWE-552
- Updated
- 2026-11-02
EUVDEUVD-2025-14275
7.6
A vulnerability was discovered in Pagure server. If a malicious user were to submit a git repository with symbolic links, the server could unintentionally show incorporate and make visible content from outside the git repo.
- Record
EUVD-2025-14275- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-vw7p-rwg9-7mrq
7.6
A vulnerability was discovered in Pagure server. If a malicious user were to submit a git...
A vulnerability was discovered in Pagure server. If a malicious user were to submit a git repository with symbolic links, the server could unintentionally show incorporate and make visible content from outside the git repo.
- Record
GHSA-vw7p-rwg9-7mrq- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L - Weakness
- CWE-552
- Updated
- 2026-11-02
NVD
7.6
A vulnerability was discovered in Pagure server. If a malicious user were to submit a git repository with symbolic links, the server could unintentionally show incorporate and make visible content from outside the git repo.
- Record
CVE-2024-4981- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L - CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N - Weakness
- CWE-552
- Updated
- 2026-11-02
OSV
7.1
A vulnerability was discovered in Pagure server. If a malicious user were to submit a git repository with symbolic links, the server could unintentionally show incorporate and make visible content from outside the git repo.
- Record
CVE-2024-4981- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-4981
7.1
A vulnerability was discovered in Pagure server. If a malicious user were to submit a git repository with symbolic links, the server could unintentionally show incorporate and make visible content from outside the git repo.
- Record
DEBIAN-CVE-2024-4981- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-4981
7.6
A vulnerability was discovered in Pagure server. If a malicious user were to submit a git repository with symbolic links, the server could unintentionally show incorporate and make visible content from outside the git repo.
- Record
UBUNTU-CVE-2024-4981- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L - CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N - Updated
- 2026-11-02
OSVUSN-7984-1 No score
pagure vulnerabilities
Thomas Chauchefoin discovered that Pagure incorrectly handled symbolic links in Git repositories. A remote attacker could possibly use this issue to cause Pagure to expose files outside the intended repository boundaries. (CVE-2024-4981)
Thomas Chauchefoin discovered that Pagure did not properly sanitize path inputs. A remote attacker could possibly use this issue to read arbitrary files. (CVE-2024-4982)
Thomas Chauchefoin discovered that Pagure incorrectly handled symbolic links during repository archiving. A remote attacker could possibly use this issue to disclose local files on the server. (CVE-2024-47515)
Thomas Chauchefoin discovered that Pagure incorrectly handled certain inputs. A remote attacker could possibly use this issue to execute arbitrary code on the server. (CVE-2024-47516)
- Record
USN-7984-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pagureDebian:13 |
before 5.14.1+dfsg-1 | 5.14.1+dfsg-1 |
pagureDebian:11 From an advisory covering 4 CVEs |
before 5.11.3+dfsg-1+deb11u1, plus listed versions 5.11.3+dfsg-1 |
5.11.3+dfsg-1+deb11u1 |
pagureUbuntu:Pro:20.04:LTS |
before 5.8.1+dfsg-3ubuntu0.1~esm1, plus listed versions 5.8.1+dfsg-15.8.1+dfsg-3 |
5.8.1+dfsg-3ubuntu0.1~esm1 |
pagureUbuntu:22.04:LTS |
before 5.11.3+dfsg-1ubuntu0.1, plus listed versions 5.11.3+dfsg-1 |
5.11.3+dfsg-1ubuntu0.1 |
pagureUbuntu:24.04:LTS |
before 5.11.3+dfsg-2.1ubuntu0.2, plus listed versions 5.11.3+dfsg-2.15.11.3+dfsg-2.1ubuntu0.1 |
5.11.3+dfsg-2.1ubuntu0.2 |
pagureUbuntu:Pro:20.04:LTS From an advisory covering 4 CVEs |
before 5.8.1+dfsg-3ubuntu0.1~esm1, plus listed versions 5.8.1+dfsg-15.8.1+dfsg-3 |
5.8.1+dfsg-3ubuntu0.1~esm1 |
pagureUbuntu:22.04:LTS From an advisory covering 4 CVEs |
before 5.11.3+dfsg-1ubuntu0.1, plus listed versions 5.11.3+dfsg-1 |
5.11.3+dfsg-1ubuntu0.1 |
pagureUbuntu:24.04:LTS From an advisory covering 4 CVEs |
before 5.11.3+dfsg-2.1ubuntu0.2, plus listed versions 5.11.3+dfsg-2.15.11.3+dfsg-2.1ubuntu0.1 |
5.11.3+dfsg-2.1ubuntu0.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-4981 is a high vulnerability (CVSS 7.6) in Redhat Pagure, published May 12, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 36th percentile. Fixed in pagure 5.14.1+dfsg-1.