CVE-2026-96807 (GCVE-0-2026-96807)
Vulnerability from cvelistv5
Published
2026-09-23 16:54
Modified
2026-09-26 22:51
CWE
  • CWE-61 - UNIX Symbolic Link (Symlink) Following
Summary
In Flatpak before 1.18.1, a malicious sandboxed app can replace ~/.var/app/$appid/.ld.so with a symlink, causing regenerate_ld_cache to write files at an arbitrary location. The filenames and content are not attacker controlled, making this hard to exploit.
Impacted products
Vendor Product Version
Flatpak Flatpak Version: 0   ≤
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-96807",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-26T22:45:37.260895Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-26T22:51:21.873Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "platforms": [
            "Linux"
          ],
          "product": "Flatpak",
          "programFiles": [
            "common/flatpak-run.c"
          ],
          "programRoutines": [
            {
              "name": "regenerate_ld_cache"
            }
          ],
          "repo": "https://github.com/flatpak/flatpak",
          "vendor": "Flatpak",
          "versions": [
            {
              "lessThan": "1.18.1",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "1.18.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In Flatpak before 1.18.1, a malicious sandboxed app can replace ~/.var/app/$appid/.ld.so with a symlink, causing regenerate_ld_cache to write files at an arbitrary location. The filenames and content are not attacker controlled, making this hard to exploit."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-61",
              "description": "CWE-61 UNIX Symbolic Link (Symlink) Following",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-23T16:54:16.931Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "url": "https://github.com/flatpak/flatpak/security/advisories/GHSA-99wv-m8rp-g58x"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe issue has been fixed in version 1.18.1 by commits:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/flatpak/flatpak/commit/e13dfeda330625d2fecc3a54672dfd4dc9c83a5c\"\u003ee13dfed\u003c/a\u003e \"common: Fix return value and typos in flatpak_switch_symlink_and_remove\"\u003c/li\u003e\n\u003cli\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/flatpak/flatpak/commit/f6c8fb5fdb3737e2f45068afe12c4bf1d808fd55\"\u003ef6c8fb5\u003c/a\u003e \"common: Use fd-based operations in flatpak_switch_symlink_and_remove\"\u003c/li\u003e\n\u003cli\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/flatpak/flatpak/commit/76c9296b6780ca67f44cf67f0823f086d692a592\"\u003e76c9296\u003c/a\u003e \"run: Harden regenerate_ld_cache against symlink attacks\"\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eFor LTS operating system distributions, backports of these changes are available in the \u003ccode\u003eflatpak-1.16.x\u003c/code\u003e\n branch. Please note that cherry-picked libglnx changes \"chase: Add \ninternal glnx_chaseat_full for a strategic callback\" and \"chase: Add \nglnx_chase_and_mkdirat\" are also required.\u003c/p\u003e"
            }
          ],
          "value": "The issue has been fixed in version 1.18.1 by commits:\n\n\n\n  *   e13dfed https://github.com/flatpak/flatpak/commit/e13dfeda330625d2fecc3a54672dfd4dc9c83a5c  \"common: Fix return value and typos in flatpak_switch_symlink_and_remove\"\n\n  *   f6c8fb5 https://github.com/flatpak/flatpak/commit/f6c8fb5fdb3737e2f45068afe12c4bf1d808fd55  \"common: Use fd-based operations in flatpak_switch_symlink_and_remove\"\n\n  *   76c9296 https://github.com/flatpak/flatpak/commit/76c9296b6780ca67f44cf67f0823f086d692a592  \"run: Harden regenerate_ld_cache against symlink attacks\"\n\n\n\n\nFor LTS operating system distributions, backports of these changes are available in the flatpak-1.16.x\n branch. Please note that cherry-picked libglnx changes \"chase: Add \ninternal glnx_chaseat_full for a strategic callback\" and \"chase: Add \nglnx_chase_and_mkdirat\" are also required."
        }
      ],
      "x_generator": {
        "engine": "CVE-Request-form 0.0.1"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2026-96807",
    "datePublished": "2026-09-23T16:54:16.931Z",
    "dateReserved": "2026-09-23T16:54:16.535Z",
    "dateUpdated": "2026-09-26T22:51:21.873Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-96807\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-09-26T22:45:37.260895Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-09-26T22:49:06.208Z\"}}], \"cna\": {\"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 4, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L\", \"integrityImpact\": \"LOW\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"LOW\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"NONE\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"repo\": \"https://github.com/flatpak/flatpak\", \"vendor\": \"Flatpak\", \"product\": \"Flatpak\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"1.18.1\", \"versionType\": \"semver\"}], \"platforms\": [\"Linux\"], \"programFiles\": [\"common/flatpak-run.c\"], \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"regenerate_ld_cache\"}]}], \"solutions\": [{\"lang\": \"en\", \"value\": \"The issue has been fixed in version 1.18.1 by commits:\\n\\n\\n\\n  *   e13dfed https://github.com/flatpak/flatpak/commit/e13dfeda330625d2fecc3a54672dfd4dc9c83a5c  \\\"common: Fix return value and typos in flatpak_switch_symlink_and_remove\\\"\\n\\n  *   f6c8fb5 https://github.com/flatpak/flatpak/commit/f6c8fb5fdb3737e2f45068afe12c4bf1d808fd55  \\\"common: Use fd-based operations in flatpak_switch_symlink_and_remove\\\"\\n\\n  *   76c9296 https://github.com/flatpak/flatpak/commit/76c9296b6780ca67f44cf67f0823f086d692a592  \\\"run: Harden regenerate_ld_cache against symlink attacks\\\"\\n\\n\\n\\n\\nFor LTS operating system distributions, backports of these changes are available in the flatpak-1.16.x\\n branch. Please note that cherry-picked libglnx changes \\\"chase: Add \\ninternal glnx_chaseat_full for a strategic callback\\\" and \\\"chase: Add \\nglnx_chase_and_mkdirat\\\" are also required.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eThe issue has been fixed in version 1.18.1 by commits:\u003c/p\u003e\\n\u003cul\u003e\\n\u003cli\u003e\u003ca target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" href=\\\"https://github.com/flatpak/flatpak/commit/e13dfeda330625d2fecc3a54672dfd4dc9c83a5c\\\"\u003ee13dfed\u003c/a\u003e \\\"common: Fix return value and typos in flatpak_switch_symlink_and_remove\\\"\u003c/li\u003e\\n\u003cli\u003e\u003ca target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" href=\\\"https://github.com/flatpak/flatpak/commit/f6c8fb5fdb3737e2f45068afe12c4bf1d808fd55\\\"\u003ef6c8fb5\u003c/a\u003e \\\"common: Use fd-based operations in flatpak_switch_symlink_and_remove\\\"\u003c/li\u003e\\n\u003cli\u003e\u003ca target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" href=\\\"https://github.com/flatpak/flatpak/commit/76c9296b6780ca67f44cf67f0823f086d692a592\\\"\u003e76c9296\u003c/a\u003e \\\"run: Harden regenerate_ld_cache against symlink attacks\\\"\u003c/li\u003e\\n\u003c/ul\u003e\\n\u003cp\u003eFor LTS operating system distributions, backports of these changes are available in the \u003ccode\u003eflatpak-1.16.x\u003c/code\u003e\\n branch. Please note that cherry-picked libglnx changes \\\"chase: Add \\ninternal glnx_chaseat_full for a strategic callback\\\" and \\\"chase: Add \\nglnx_chase_and_mkdirat\\\" are also required.\u003c/p\u003e\", \"base64\": false}]}], \"references\": [{\"url\": \"https://github.com/flatpak/flatpak/security/advisories/GHSA-99wv-m8rp-g58x\"}], \"x_generator\": {\"engine\": \"CVE-Request-form 0.0.1\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In Flatpak before 1.18.1, a malicious sandboxed app can replace ~/.var/app/$appid/.ld.so with a symlink, causing regenerate_ld_cache to write files at an arbitrary location. The filenames and content are not attacker controlled, making this hard to exploit.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-61\", \"description\": \"CWE-61 UNIX Symbolic Link (Symlink) Following\"}]}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"1.18.1\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"shortName\": \"mitre\", \"dateUpdated\": \"2026-09-23T16:54:16.931Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-96807\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-09-26T22:51:21.873Z\", \"dateReserved\": \"2026-09-23T16:54:16.535Z\", \"assignerOrgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"datePublished\": \"2026-09-23T16:54:16.931Z\", \"assignerShortName\": \"mitre\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…