{"id":"CVE-2026-123356","summary":"GROBID: Unauthenticated `/api/modelTraining` Endpoint Allows Unbounded Thread Pool Creation (DoS)","details":"GROBID is machine learning software for extracting information from scholarly documents. Prior to 0.9.1, the unauthenticated /api/modelTraining endpoint calls GrobidRestProcessTraining.trainModel in GrobidRestProcessTraining.java, where each request creates Executors.newFixedThreadPool(1), submits a training task, and leaves the executor running. Repeated requests permanently retain JVM worker threads and can exhaust process or operating-system thread capacity, degrading or stopping request processing. This issue is fixed in version 0.9.1.","aliases":["GHSA-g2r5-4c8r-c84f"],"modified":"2026-11-14T07:14:34.425067910Z","published":"2026-11-06T18:33:33.986Z","database_specific":{"cwe_ids":["CWE-400"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123356.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/grobidOrg/grobid/releases/tag/0.9.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123356.json"},{"type":"ADVISORY","url":"https://github.com/grobidOrg/grobid/security/advisories/GHSA-g2r5-4c8r-c84f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123356"},{"type":"FIX","url":"https://github.com/grobidOrg/grobid/commit/3227e9a6a990ec1687173045f119c24e17d10103"},{"type":"FIX","url":"https://github.com/grobidOrg/grobid/pull/1477"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/grobidorg/grobid","events":[{"introduced":"0"},{"fixed":"523bb8e97f357e93682dc4eaa6d22faa8b5b93de"},{"fixed":"3227e9a6a990ec1687173045f119c24e17d10103"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"0.9.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"3227e9a6a990ec1687173045f119c24e17d10103"}]},{"source":"REFERENCES_TAG","original_tag":"0.9.1","range":[{"fixed":"523bb8e97f357e93682dc4eaa6d22faa8b5b93de"}]}]}}],"versions":["0.8.2","0.8.1","0.8.0","0.7.3","0.7.1","0.7.0","0.6.2","0.6.0","0.5.6","0.5.5","0.5.3","0.5.2","0.5.0","grobid-parent-0.4.3","grobid-parent-0.4.2","grobid-parent-0.4.0","grobid-parent-0.3.8","grobid-parent-0.3.6","grobid-parent-0.3.5","grobid-parent-0.3.4","grobid-parent-0.3.3","grobid-parent-0.3.1","grobid-parent-0.3.0"],"database_specific":{"vanir_signatures_modified":"2026-11-14T07:14:34Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123356.json","vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://github.com/grobidorg/grobid/commit/3227e9a6a990ec1687173045f119c24e17d10103","target":{"file":"grobid-core/src/main/java/org/grobid/core/document/DocumentSource.java","function":"pdfalto"},"deprecated":false,"digest":{"function_hash":"304066079334209197562336484486314519024","length":1909},"id":"CVE-2026-123356-0be759d0"},{"target":{"file":"grobid-service/src/main/java/org/grobid/service/process/GrobidRestProcessTraining.java","function":"run"},"deprecated":false,"digest":{"length":1117,"function_hash":"178872096750229122922460576239325396010"},"id":"CVE-2026-123356-44084bc9","signature_type":"Function","signature_version":"v1","source":"https://github.com/grobidorg/grobid/commit/3227e9a6a990ec1687173045f119c24e17d10103"},{"deprecated":false,"digest":{"line_hashes":["50364848249998073586858346165629819463","140803849387440476196472558068414246068","324774275686714291769499323566329412044","246288243292894295657653784704596641839","308465166374690592479507610873796492174","293360292671477625081436987484486294386","186041363454254987595474018690126409811","136893916309895977240154236595577058529","233565353604729592798352382583137641531","214467481223507331679454798927480903514","13488978338330327301238143774036503778","327951344457039214862908588306608605781","315565404359916016790534742822732318160","293591479417589355530029123275759011221","333736267897896569746394872865738641757","145331966223571127664672169776347216077","36584390503344434706227236926587242998","75604015107939990162078714286206002212","129984906046058197800170428249806481689","117300165858738138682917974359400055594","179567164188644973044893127307457383231","19874903383656006977915012969469788391"],"threshold":0.9},"id":"CVE-2026-123356-5616b4a8","signature_type":"Line","signature_version":"v1","source":"https://github.com/grobidorg/grobid/commit/3227e9a6a990ec1687173045f119c24e17d10103","target":{"file":"grobid-core/src/main/java/org/grobid/core/document/DocumentSource.java"}},{"signature_version":"v1","source":"https://github.com/grobidorg/grobid/commit/3227e9a6a990ec1687173045f119c24e17d10103","target":{"function":"trainModel","file":"grobid-service/src/main/java/org/grobid/service/process/GrobidRestProcessTraining.java"},"deprecated":false,"digest":{"function_hash":"111722969666352926973701401795118376890","length":1786},"id":"CVE-2026-123356-b6504461","signature_type":"Function"},{"id":"CVE-2026-123356-caa047ba","signature_type":"Function","signature_version":"v1","source":"https://github.com/grobidorg/grobid/commit/3227e9a6a990ec1687173045f119c24e17d10103","target":{"file":"grobid-service/src/main/java/org/grobid/service/process/GrobidRestProcessTraining.java","function":"TrainTask"},"deprecated":false,"digest":{"function_hash":"254821243078582185125542254142522252660","length":236}},{"id":"CVE-2026-123356-dd3abcc0","signature_type":"Line","signature_version":"v1","source":"https://github.com/grobidorg/grobid/commit/3227e9a6a990ec1687173045f119c24e17d10103","target":{"file":"grobid-service/src/main/java/org/grobid/service/process/GrobidRestProcessTraining.java"},"deprecated":false,"digest":{"line_hashes":["70502649684710696809141302395137961890","74084437052612777281329719707713113678","121060027860672869020872991797111714993","261823371437057326044011260194275778494","100705735120776709475657585379983551976","166670052940799344950862256777081542683","274288818990156198297572068042791561259","46122766044672781345039003710138834326","182087613892537435308322990257315074446","276572957932240577249695918406684061074","195722645891087622161147342838625926107","114367040922479893080692475208512776859","263695658675577828784586828234346069126","303014114845538816727750135332707496051","28931596905019664597909116030532779489","35917672967370989619731467451342030261","210447813734294101568916792107491677420","168873951287896116750410344348632895396","166643136471582504045562131138816325971","95919006880792476065774821985874491888","160964935817859224406119167523413336875","153661829336526528075783505548877248061","61567377665270241617935155243722980617","195447671787378169593982291418660947378","28952312623243448517433764794001937199","235930302154519245103334503916252072126","161912159785522321491000706031398127781","202324062339171535653990381470516259045","31021595345224829762012639294382044720","292224639719248446076906824865317611740","190555582237529268287964261545766210108","144573664635256285142553074956361087901","49406814439506127532013605346626733283","317718153643505243282285976249253580585","135659531645559789901496535806390223945","59920957417528994829142769405999650217","224923220792268783325650917816788431395","523332749375584889276545127511384668"],"threshold":0.9}}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}