<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.19.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>419</ContextCount>
  <ElementCount>343</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>96</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/StatementCondensedConsolidatedStatementsOfOperations</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00200 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00300 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/StatementCondensedConsolidatedBalanceSheets</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00400 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/StatementCondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00500 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00505 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquityParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Basis for Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureBasisForPresentation</Role>
      <ShortName>Basis for Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Implementation of the New Revenue Recognition Standard</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureImplementationOfNewRevenueRecognitionStandard</Role>
      <ShortName>Implementation of the New Revenue Recognition Standard</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Acquisitions and Divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureAcquisitionsAndDivestitures</Role>
      <ShortName>Acquisitions and Divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Variable Interest Entities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureVariableInterestEntities</Role>
      <ShortName>Variable Interest Entities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Net Income (Loss) Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureNetIncomeLossPerShare</Role>
      <ShortName>Net Income (Loss) Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Contract Assets and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureContractAssetsAndLiabilities</Role>
      <ShortName>Contract Assets and Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Balance Sheet Details</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureBalanceSheetDetails</Role>
      <ShortName>Balance Sheet Details</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureFairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Financing Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureFinancingArrangements</Role>
      <ShortName>Financing Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Pension Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosurePensionPlans</Role>
      <ShortName>Pension Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Stockholders??? Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureStockholdersEquity</Role>
      <ShortName>Stockholders??? Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11301 - Disclosure - Derivative Instruments and Hedging Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureDerivativeInstrumentsAndHedgingActivities</Role>
      <ShortName>Derivative Instruments and Hedging Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11401 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureSegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11501 - Disclosure - Legal Matters</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureLegalMatters</Role>
      <ShortName>Legal Matters</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>20102 - Disclosure - Basis for Presentation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureBasisForPresentationPolicies</Role>
      <ShortName>Basis for Presentation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>30103 - Disclosure - Basis for Presentation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureBasisForPresentationTables</Role>
      <ShortName>Basis for Presentation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureBasisForPresentation</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Implementation of the New Revenue Recognition Standard (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureImplementationOfNewRevenueRecognitionStandardTables</Role>
      <ShortName>Implementation of the New Revenue Recognition Standard (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureImplementationOfNewRevenueRecognitionStandard</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Acquisitions and Divestitures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureAcquisitionsAndDivestituresTables</Role>
      <ShortName>Acquisitions and Divestitures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureAcquisitionsAndDivestitures</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Variable Interest Entities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureVariableInterestEntitiesTables</Role>
      <ShortName>Variable Interest Entities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureVariableInterestEntities</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Net Income (Loss) Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureNetIncomeLossPerShareTables</Role>
      <ShortName>Net Income (Loss) Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureNetIncomeLossPerShare</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Contract Assets and Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureContractAssetsAndLiabilitiesTables</Role>
      <ShortName>Contract Assets and Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureContractAssetsAndLiabilities</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Balance Sheet Details (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureBalanceSheetDetailsTables</Role>
      <ShortName>Balance Sheet Details (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureBalanceSheetDetails</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureFairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureFairValueOfFinancialInstruments</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>31003 - Disclosure - Pension Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosurePensionPlansTables</Role>
      <ShortName>Pension Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosurePensionPlans</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>31103 - Disclosure - Stockholders??? Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureStockholdersEquityTables</Role>
      <ShortName>Stockholders??? Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureStockholdersEquity</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>31303 - Disclosure - Derivative Instruments and Hedging Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesTables</Role>
      <ShortName>Derivative Instruments and Hedging Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureDerivativeInstrumentsAndHedgingActivities</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>31403 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureSegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureSegmentInformation</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Basis for Presentation - ASC 606 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureBasisForPresentationAsc606Details</Role>
      <ShortName>Basis for Presentation - ASC 606 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>40102 - Disclosure - Basis for Presentation - Backlog (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureBasisForPresentationBacklogDetails</Role>
      <ShortName>Basis for Presentation - Backlog (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>40103 - Disclosure - Basis for Presentation - Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureBasisForPresentationAccountsReceivableDetails</Role>
      <ShortName>Basis for Presentation - Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Implementation of the New Revenue Recognition Standard (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureImplementationOfNewRevenueRecognitionStandardDetails</Role>
      <ShortName>Implementation of the New Revenue Recognition Standard (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureImplementationOfNewRevenueRecognitionStandardTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Implementation of the New Revenue Recognition Standard - Cumulative effect on Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureImplementationOfNewRevenueRecognitionStandardCumulativeEffectOnBalanceSheetDetails</Role>
      <ShortName>Implementation of the New Revenue Recognition Standard - Cumulative effect on Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>40203 - Disclosure - Implementation of the New Revenue Recognition Standard - Effect on Statement of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureImplementationOfNewRevenueRecognitionStandardEffectOnStatementOfOperationsDetails</Role>
      <ShortName>Implementation of the New Revenue Recognition Standard - Effect on Statement of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>40204 - Disclosure - Implementation of the New Revenue Recognition Standard - Impact on segment net sales and operating income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureImplementationOfNewRevenueRecognitionStandardImpactOnSegmentNetSalesAndOperatingIncomeDetails</Role>
      <ShortName>Implementation of the New Revenue Recognition Standard - Impact on segment net sales and operating income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40205 - Disclosure - Implementation of the New Revenue Recognition Standard - Impact on Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureImplementationOfNewRevenueRecognitionStandardImpactOnBalanceSheetDetails</Role>
      <ShortName>Implementation of the New Revenue Recognition Standard - Impact on Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Acquisitions and Divestitures - CGD Services - Income (loss) from discontinued operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureAcquisitionsAndDivestituresCgdServicesIncomeLossFromDiscontinuedOperationsDetails</Role>
      <ShortName>Acquisitions and Divestitures - CGD Services - Income (loss) from discontinued operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40302 - Disclosure - Acquisitions and Divestitures - Consolidated Business Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureAcquisitionsAndDivestituresConsolidatedBusinessAcquisitionsDetails</Role>
      <ShortName>Acquisitions and Divestitures - Consolidated Business Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40303 - Disclosure - Acquisitions and Divestitures - MotionDSP (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureAcquisitionsAndDivestituresMotiondspDetails</Role>
      <ShortName>Acquisitions and Divestitures - MotionDSP (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40304 - Disclosure - Acquisitions and Divestitures - Goodwill and Pro forma information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureAcquisitionsAndDivestituresGoodwillAndProFormaInformationDetails</Role>
      <ShortName>Acquisitions and Divestitures - Goodwill and Pro forma information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Variable Interest Entities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureVariableInterestEntitiesNarrativeDetails</Role>
      <ShortName>Variable Interest Entities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>40402 - Disclosure - Variable Interest Entities - Net assets and liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureVariableInterestEntitiesNetAssetsAndLiabilitiesDetails</Role>
      <ShortName>Variable Interest Entities - Net assets and liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Net Income (Loss) Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureNetIncomeLossPerShareDetails</Role>
      <ShortName>Net Income (Loss) Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureNetIncomeLossPerShareTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Contract Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureContractAssetsAndLiabilitiesDetails</Role>
      <ShortName>Contract Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureContractAssetsAndLiabilitiesTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Balance Sheet Details (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureBalanceSheetDetailsDetails</Role>
      <ShortName>Balance Sheet Details (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureBalanceSheetDetailsTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Fair Value of Financial Instruments - Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureFairValueOfFinancialInstrumentsRecurringBasisDetails</Role>
      <ShortName>Fair Value of Financial Instruments - Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>40802 - Disclosure - Fair Value of Financial Instruments - Contingent Consideration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureFairValueOfFinancialInstrumentsContingentConsiderationDetails</Role>
      <ShortName>Fair Value of Financial Instruments - Contingent Consideration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Financing Arrangements - underwritten public offering (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureFinancingArrangementsUnderwrittenPublicOfferingDetails</Role>
      <ShortName>Financing Arrangements - underwritten public offering (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Financing Arrangements - Senior Unsecured Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.cubic.com/role/DisclosureFinancingArrangementsSeniorUnsecuredNotesDetails</Role>
      <ShortName>Financing Arrangements - Senior Unsecured Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>40903 - Disclosure - Financing Arrangements - Revolving Credit Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureFinancingArrangementsRevolvingCreditAgreementDetails</Role>
      <ShortName>Financing Arrangements - Revolving Credit Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Pension Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosurePensionPlansDetails</Role>
      <ShortName>Pension Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosurePensionPlansTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Stockholders??? Equity - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureStockholdersEquityNarrativeDetails</Role>
      <ShortName>Stockholders??? Equity - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>41102 - Disclosure - Stockholders??? Equity - Assumption used for RSU activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureStockholdersEquityAssumptionUsedForRsuActivityDetails</Role>
      <ShortName>Stockholders??? Equity - Assumption used for RSU activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>41103 - Disclosure - Stockholders??? Equity - RSU activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureStockholdersEquityRsuActivityDetails</Role>
      <ShortName>Stockholders??? Equity - RSU activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>41104 - Disclosure - Stockholders??? Equity - Non-cash compensation expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureStockholdersEquityNonCashCompensationExpenseDetails</Role>
      <ShortName>Stockholders??? Equity - Non-cash compensation expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cubic.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Derivative Instruments and Hedging Activities - Notional principal amounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesNotionalPrincipalAmountsDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Notional principal amounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>41302 - Disclosure - Derivative Instruments and Hedging Activities - Fair value of derivative financial instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Fair value of derivative financial instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>41303 - Disclosure - Derivative Instruments and Hedging Activities - Gains and losses recognized (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesGainsAndLossesRecognizedDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Gains and losses recognized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>41401 - Disclosure - Segment Information - Business segment financial data (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureSegmentInformationBusinessSegmentFinancialDataDetails</Role>
      <ShortName>Segment Information - Business segment financial data (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>41402 - Disclosure - Segment Information - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureSegmentInformationNarrativeDetails</Role>
      <ShortName>Segment Information - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>41403 - Disclosure - Segment Information - Sales by Geographical Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureSegmentInformationSalesByGeographicalRegionDetails</Role>
      <ShortName>Segment Information - Sales by Geographical Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>41404 - Disclosure - Segment Information - Sales by End Customer (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureSegmentInformationSalesByEndCustomerDetails</Role>
      <ShortName>Segment Information - Sales by End Customer (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>41405 - Disclosure - Segment Information - Sales by Contract Type (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureSegmentInformationSalesByContractTypeDetails</Role>
      <ShortName>Segment Information - Sales by Contract Type (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>41406 - Disclosure - Segment Information - Sales by Deliverable Type (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureSegmentInformationSalesByDeliverableTypeDetails</Role>
      <ShortName>Segment Information - Sales by Deliverable Type (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="cub-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>41407 - Disclosure - Segment Information - Revenue Recognition Method (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cubic.com/role/DisclosureSegmentInformationRevenueRecognitionMethodDetails</Role>
      <ShortName>Segment Information - Revenue Recognition Method (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>cub-20190331.xml</File>
    <File>cub-20190331.xsd</File>
    <File>cub-20190331_cal.xml</File>
    <File>cub-20190331_def.xml</File>
    <File>cub-20190331_lab.xml</File>
    <File>cub-20190331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
