{"id":"CVE-2022-41231","aliases":["EUVD-2022-6861","GHSA-jrqh-c9v8-ccx9"],"status":"published","title":"Path traversal in Jenkins build-publisher Plugin","description":"Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any config.xml file on the Jenkins controller file system by providing a crafted file name to an API endpoint.","severity":{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01447,"percentile":0.73503,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2022-09-21T15:45:51Z","modified":"2026-10-24T10:30:35Z","affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.jenkins-ci.plugins:build-publisher","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.22"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.jenkins-ci.plugins:build-publisher","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.22"}]}],"versions":["1.11","1.12","1.13","1.14","1.15","1.16","1.17","1.18","1.19","1.20","1.21","1.22"]}],"products":[{"vendor":"jenkins","product":"build-publisher"},{"vendor":"jenkins project","product":"jenkins build-publisher plugin"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-09-21/#SECURITY-2139","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41231","tags":["advisory"]},{"url":"https://github.com/jenkins-infra/update-center2/pull/644","tags":["web"]},{"url":"https://github.com/advisories/GHSA-jrqh-c9v8-ccx9"}],"sources":{"cve":[{"id":"CVE-2022-41231","description":"Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any config.xml file on the Jenkins controller file system by providing a crafted file name to an API endpoint.","status":"published","published":"2022-09-21T15:45:51Z","modified":"2025-05-28T14:41:51.913Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:28.038197Z"}],"euvd":[{"id":"EUVD-2022-6861","description":"Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any config.xml file on the Jenkins controller file system by providing a crafted file name to an API endpoint.","status":"published","published":"2022-09-21T15:45:51Z","modified":"2025-05-28T14:41:51Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:37.456975Z"}],"ghsa":[{"id":"GHSA-jrqh-c9v8-ccx9","title":"Path traversal in Jenkins build-publisher Plugin","description":"Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any `config.xml` file on the Jenkins controller file system by providing a crafted file name to an API endpoint. Additionally, this endpoint does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability that allows attackers to replace any `config.xml` file on the Jenkins controller file system with an empty file.\n\nThere is currently no known workaround or fix, and this plugin has been suspended.","status":"published","published":"2022-09-22T00:00:28Z","modified":"2023-01-31T05:02:39Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:29.100018Z"}],"nvd":[{"id":"CVE-2022-41231","description":"Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any config.xml file on the Jenkins controller file system by providing a crafted file name to an API endpoint.","status":"published","published":"2022-09-21T16:15:10.273Z","modified":"2026-06-17T05:02:50.35Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:28.501364Z"}],"osv":[{"id":"CVE-2022-41231","description":"Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any config.xml file on the Jenkins controller file system by providing a crafted file name to an API endpoint.","status":"published","published":"2022-09-21T16:15:10.273Z","modified":"2026-10-24T10:30:35.120736901Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:26.860704Z"},{"id":"GHSA-jrqh-c9v8-ccx9","title":"Path traversal in Jenkins build-publisher Plugin","description":"Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any `config.xml` file on the Jenkins controller file system by providing a crafted file name to an API endpoint. Additionally, this endpoint does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability that allows attackers to replace any `config.xml` file on the Jenkins controller file system with an empty file.\n\nThere is currently no known workaround or fix, and this plugin has been suspended.","status":"published","published":"2022-09-22T00:00:28Z","modified":"2023-11-08T04:10:27.829404Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:51.10002Z"}]}}
