{"id":"CVE-2026-43828","aliases":["CVE-2026-43828","GHSA-c6r4-qjmw-cvj2"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Shiro: Shiro's native session and rememberMe cookies do not have secure flag set by default","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Las configuraciones predeterminadas de Apache Shiro envían cookies sensibles en sesión HTTPS sin el atributo 'Secure'.\n\nEste problema afecta a Apache Shiro desde 1.0 hasta 2.1.0, y 3.0.0-alpha-1.\n\nSe recomienda a los usuarios actualizar a la versión 2.1.1, o 3.0.0-alpha-2 o posterior, que corrige el problema.\n\nEn las versiones afectadas, el gestor de sesión nativo de Shiro, así como el gestor Remember-Me, envían las cookies JSESSIONID y rememberMe sin el atributo 'secure' por defecto.","source":"nvd"}],"published":"2026-05-25T20:19:26.227Z","modified":"2026-07-24T10:10:00.197Z","severity":{"scorer":"apache","scheme":"CVSS:4.0","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","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"apache","scheme":"CVSS:4.0","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","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-614"],"affected":[{"ranges":[{"type":"semver","introduced":"1.0","lastAffected":"2.1.0","status":"affected"},{"type":"semver","introduced":"3.0.0-alpha-0","lastAffected":"3.0.0-alpha-1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Shiro","package":"org.apache.shiro:shiro-web","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0-incubating","status":"affected","fixed":"2.2.0"}],"ecosystem":"Maven","package":"org.apache.shiro:shiro-web","purl":"pkg:maven/org.apache.shiro/shiro-web","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0-alpha-1","status":"affected","fixed":"3.0.0-alpha-2"}],"ecosystem":"Maven","package":"org.apache.shiro:shiro-web","purl":"pkg:maven/org.apache.shiro/shiro-web","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.1.1"},{"status":"affected","version":"3.0.0"}],"vendor":"apache","product":"shiro","cpe":"cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://shiro.apache.org/security-reports.html#cve_2026_43828","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/25/7","tags":["mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43828","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/shiro","tags":["package"],"sources":["ghsa"]}],"credits":["Meteor_Kai <1318723916@qq.com>","Lenny Primak <lenny@flowlogix.com>"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-26T12:38:31.723Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43828","url":"https://www.cve.org/CVERecord?id=CVE-2026-43828","licence":"CVE Terms of Use","modified":"2026-05-26T12:38:38.399Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c6r4-qjmw-cvj2","url":"https://github.com/advisories/GHSA-c6r4-qjmw-cvj2","licence":"CC-BY-4.0","modified":"2026-06-30T17:41:30.680Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43828","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43828","licence":"Public domain","modified":"2026-07-24T10:10:00.197Z"}],"updatedAt":"2026-11-25T22:59:22.292Z","epss":{"score":0.00262,"percentile":0.19255,"date":"2026-12-01T12:00:22.000Z"}}