{"schemaVersion":3,"id":"CVE-2022-26850","aliases":["GHSA-rvp4-r3g6-8hxq","BIT-nifi-2022-26850"],"status":"published","duplicateOf":null,"title":null,"description":"When creating or updating credentials for single-user access, Apache NiFi wrote a copy of the Login Identity Providers configuration to the operating system temporary directory. On most platforms, the operating system temporary directory has global read permissions. NiFi immediately moved the temporary file to the final configuration directory, which significantly limited the window of opportunity for access. NiFi 1.16.0 includes updates to replace the Login Identity Providers configuration without writing a file to the operating system temporary directory.","dates":{"published":"2022-04-06T17:40:09.000Z","modified":"2024-08-03T05:11:45.347Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":5.1,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01493,"percentile":0.73719,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.01493},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01493,"percentile":0.73719}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01493,"percentile":0.73719}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere","description":"The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/668.html"}],"affected":[{"vendor":"apache software foundation","product":"apache nifi","name":"Apache NiFi","label":"apache nifi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"NiFi 1.14.0 to 1.15.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"NiFi 1.14.0 to 1.15.3","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_nifi"},{"vendor":"apache","product":"nifi","name":"nifi","label":"nifi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.14.0, < 1.16.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.14.0, < 1.16.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-nifi","label":"Apache NiFi","category":"server-app"}},"hubHref":"/vendor/apache/nifi"},{"vendor":"org.apache.nifi","product":"nifi-single-user-utils","name":"org.apache.nifi:nifi-single-user-utils","label":"nifi-single-user-utils","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-single-user-utils","purlType":"maven","versions":[{"text":"< 1.16","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.16","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://nifi.apache.org/security.html#CVE-2022-26850","label":"nifi.apache.org/security.html","hostname":"nifi.apache.org","tags":["X Refsource MISC","WEB","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/04/06/2","label":"www.openwall.com/lists/oss-security/2022/04/06/2","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB","Third Party Advisory"]},{"url":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-rvp4-r3g6-8hxq","label":"github.com/JLLeitschuh/security-research/security/advisories/GHSA-rvp4-r3g6-8hxq","hostname":"github.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-26850","label":"nvd.nist.gov/vuln/detail/CVE-2022-26850","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/nifi/commit/859d5fe","label":"github.com/apache/nifi/commit/859d5fe","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/nifi/commit/859d5fe8cfe05ad24600b021f0ebf15753a8105c","label":"github.com/apache/nifi/commit/859d5fe8cfe05ad24600b021f0ebf15753a8105c","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-04-06T17:40:09.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T05:11:45.347Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":17,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:50:05.211Z","stale":false,"partial":false}}