# CVE-2024-4981: Pagure: _update_file_in_git() follows symbolic links in temporary clones

- Severity: High 7.6 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-12T18:55:08.744Z
- Modified: 2026-06-17T08:03:19.580Z
- Weaknesses: CWE-552
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

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.

(As written by CVE List.)

## Affected

- pagure: before 5.14.1
- redhat pagure: before 5.14.1

## Every score

- fedora: 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`
- NVD: 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`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2280723> (exploit, issue-tracking)
- <https://access.redhat.com/security/cve/CVE-2024-4981> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2278745> (permissions-required)
- <https://pagure.io/pagure/c/454f2677bc50d7176f07da9784882eb2176537f4> (patch)

## Sources

- CVE List: [CVE-2024-4981](https://www.cve.org/CVERecord?id=CVE-2024-4981), CVE Terms of Use, modified 2025-05-12
- NVD: [CVE-2024-4981](https://nvd.nist.gov/vuln/detail/CVE-2024-4981), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-4981 · Whole record: https://cve.day/CVE-2024-4981.json · Rebuilt by cve.day 2026-11-25T22:58:52.614Z
