{"id":"CVE-2026-43828","aliases":["DEBIAN-CVE-2026-43828","EUVD-2026-31734","GHSA-c6r4-qjmw-cvj2","UBUNTU-CVE-2026-43828"],"status":"published","title":"Apache Shiro: Shiro's native session and rememberMe cookies do not have secure flag set by default","description":"Default configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute.\n\n\n\nThis issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.\n\nUsers are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.\n\nIn the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.","severity":{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/AU:Y/R:U/RE:L/U:Amber","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00272,"percentile":0.19785,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-614"],"published":"2026-05-25T20:19:26Z","modified":"2026-10-17T12:58:17Z","fixes":[{"ecosystem":"Maven","package":"org.apache.shiro:shiro-web","fixed_in":["2.2.0","3.0.0-alpha-2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.shiro:shiro-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-incubating"},{"fixed":"2.2.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.shiro:shiro-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0-alpha-1"},{"last_affected":"3.0.0-alpha-1"},{"fixed":"3.0.0-alpha-2"}]}],"versions":["3.0.0-alpha-1"]},{"source":"osv","ecosystem":"Debian:12","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-5","1.3.2-6"]},{"source":"osv","ecosystem":"Debian:13","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-6"]},{"source":"osv","ecosystem":"Debian:14","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-6"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.shiro:shiro-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-incubating"},{"fixed":"2.2.0"}]}],"versions":["1.0.0-incubating","1.1.0","1.10.0","1.10.1","1.11.0","1.12.0","1.13.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.3.0","1.3.1","1.3.2","1.4.0","1.4.0-RC2","1.4.1","1.4.2","1.5.0","1.5.1","1.5.2","1.5.3","1.6.0","1.7.0","1.7.1","1.8.0","1.9.0","1.9.1","2.0.0","2.0.0-alpha-1","2.0.0-alpha-2","2.0.0-alpha-3","2.0.0-alpha-4","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.shiro:shiro-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0-alpha-1"},{"fixed":"3.0.0-alpha-2"}]}],"versions":["3.0.0-alpha-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.4-1","1.2.4-1ubuntu0.1~esm1","1.2.4-1ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-2","1.3.2-3~18.04","1.3.2-3~18.04.1","1.3.2-3ubuntu0.18.04.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-4","1.3.2-4ubuntu0.1","1.3.2-4ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-4","1.3.2-5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-5","1.3.2-5ubuntu0.24.04.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-6ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-6ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-6ubuntu1","1.3.2-6ubuntu2"]}],"products":[{"vendor":"apache","product":"shiro"},{"vendor":"apache software foundation","product":"apache shiro"}],"references":[{"url":"https://shiro.apache.org/security-reports.html#cve_2026_43828","tags":["vendor-advisory","Vendor Advisory","web","report"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/25/7","tags":["Mailing List","Third Party Advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43828","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-c6r4-qjmw-cvj2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-43828","tags":["advisory"]},{"url":"https://github.com/apache/shiro","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2026-43828","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-43828","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2026/05/25/7","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-43828","title":"Apache Shiro: Shiro's native session and rememberMe cookies do not have secure flag set by default","description":"Default configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute.\n\n\n\nThis issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.\n\nUsers are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.\n\nIn the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.","status":"published","published":"2026-05-25T20:19:26.227Z","modified":"2026-05-26T12:38:38.399Z","cvss":[{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/AU:Y/R:U/RE:L/U:Amber","level":"medium","assessor":"cna"}],"cwes":["CWE-614"],"updated_at":"2026-11-02T13:37:36.275898Z"}],"euvd":[{"id":"EUVD-2026-31734","description":"Default configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute.\n\n\n\nThis issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.\n\nUsers are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.\n\nIn the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.","status":"published","published":"2026-05-25T20:19:26Z","modified":"2026-05-26T12:38:38Z","cvss":[{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/AU:Y/R:U/RE:L/U:Amber","level":"medium"}],"updated_at":"2026-11-02T18:21:07.388987Z"}],"ghsa":[{"id":"GHSA-c6r4-qjmw-cvj2","title":"Apache Shiro sends sensitive cookies in HTTPS session without 'Secure' attribute","description":"Default configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute.\n\nThis issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.\n\nUsers are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.\n\nIn the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.","status":"published","published":"2026-05-26T13:30:50Z","modified":"2026-06-30T17:27:52Z","cvss":[{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/RE:L/U:Amber","level":"medium"}],"cwes":["CWE-614"],"updated_at":"2026-11-02T14:40:35.701766Z"}],"nvd":[{"id":"CVE-2026-43828","description":"Default configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute.\n\n\n\nThis issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.\n\nUsers are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.\n\nIn the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.","status":"published","published":"2026-05-25T21:16:34.84Z","modified":"2026-07-24T10:10:00.197Z","cvss":[{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:U/V:X/RE:L/U:Amber","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-614"],"updated_at":"2026-11-02T14:12:20.131508Z"}],"osv":[{"id":"DEBIAN-CVE-2026-43828","description":"Default configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute.    This issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.  Users are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.  In the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.","status":"published","published":"2026-05-25T21:16:34.84Z","modified":"2026-10-05T04:00:11.211238186Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:55.669088Z"},{"id":"GHSA-c6r4-qjmw-cvj2","title":"Apache Shiro sends sensitive cookies in HTTPS session without 'Secure' attribute","description":"Default configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute.\n\nThis issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.\n\nUsers are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.\n\nIn the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.","status":"published","published":"2026-05-26T13:30:50Z","modified":"2026-06-30T17:41:30.680918Z","cvss":[{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/RE:L/U:Amber","level":"medium"}],"cwes":["CWE-614"],"updated_at":"2026-11-02T15:46:44.571161Z"},{"id":"UBUNTU-CVE-2026-43828","description":"Default configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute. This issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1. Users are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue. In the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.","status":"published","published":"2026-05-25T21:16:00Z","modified":"2026-10-17T12:58:17.443159589Z","cvss":[{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/AU:Y/R:U/RE:L/U:Amber","level":"medium"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T16:56:22.075798Z"}]}}
